From 50e725ae23124a10d56a615fb8b0ae80d0d2b4d3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 16 Jun 2020 13:07:31 +0200 Subject: 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. --- build2/b-options.hxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'build2/b-options.hxx') diff --git a/build2/b-options.hxx b/build2/b-options.hxx index 44777f7..c6f1f59 100644 --- a/build2/b-options.hxx +++ b/build2/b-options.hxx @@ -453,6 +453,12 @@ namespace build2 // Option accessors. // + const uint64_t& + build2_metadata () const; + + bool + build2_metadata_specified () const; + const bool& v () const; @@ -598,6 +604,8 @@ namespace build2 ::build2::cl::unknown_mode argument); public: + uint64_t build2_metadata_; + bool build2_metadata_specified_; bool v_; bool V_; bool quiet_; -- cgit v1.1