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.ixx | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'build2/b-options.ixx') 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 { -- cgit v1.1