diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-16 13:07:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-16 13:07:31 +0200 |
commit | 50e725ae23124a10d56a615fb8b0ae80d0d2b4d3 (patch) | |
tree | ab916fa1916d7e435a3bf4e25ef205ce4eccbd08 /build2/b-options.ixx | |
parent | af73b1603d851dcb2ce7ae84bd57df0c2f9a716d (diff) |
Add metadata for exe{b}, including whether it is statically-linked
Use this information to omit ad hoc C++ recipe tests is testing statically-
linked build system.
Diffstat (limited to 'build2/b-options.ixx')
-rw-r--r-- | build2/b-options.ixx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/build2/b-options.ixx b/build2/b-options.ixx index b8d7198..6444aa9 100644 --- a/build2/b-options.ixx +++ b/build2/b-options.ixx @@ -260,6 +260,18 @@ namespace build2 // options // + inline const uint64_t& options:: + build2_metadata () const + { + return this->build2_metadata_; + } + + inline bool options:: + build2_metadata_specified () const + { + return this->build2_metadata_specified_; + } + inline const bool& options:: v () const { |