aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/utility.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-08-26 17:24:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-08-26 18:04:22 +0200
commit4a23b4cdf3102a8fef8ac6ebd8a884cd613c28ee (patch)
tree9fdd028cddde76ea4037c55fd7430950a0d05dd5 /libbuild2/utility.hxx
parent4177d70e63893d0a2c76beb9166ebbf79c4697a0 (diff)
Implement auto-import of development build2 build
Diffstat (limited to 'libbuild2/utility.hxx')
-rw-r--r--libbuild2/utility.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbuild2/utility.hxx b/libbuild2/utility.hxx
index a6a7ac3..d9c530b 100644
--- a/libbuild2/utility.hxx
+++ b/libbuild2/utility.hxx
@@ -142,6 +142,12 @@ namespace build2
LIBBUILD2_SYMEXPORT extern const standard_version build_version;
LIBBUILD2_SYMEXPORT extern const string build_version_interface;
+ // Whether running installed build.
+ //
+ // Note: only available after static initialization.
+ //
+ LIBBUILD2_SYMEXPORT extern bool build_installed;
+
// --[no-]mtime-check
//
LIBBUILD2_SYMEXPORT extern optional<bool> mtime_check_option;