aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/utility-installed.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/utility-installed.cxx')
-rw-r--r--libbuild2/utility-installed.cxx24
1 files changed, 24 insertions, 0 deletions
diff --git a/libbuild2/utility-installed.cxx b/libbuild2/utility-installed.cxx
new file mode 100644
index 0000000..8fcb271
--- /dev/null
+++ b/libbuild2/utility-installed.cxx
@@ -0,0 +1,24 @@
+// file : libbuild2/utility-installed.cxx -*- C++ -*-
+// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+// Bootstrap build is never condidered installed.
+//
+#ifndef BUILD2_BOOTSTRAP
+
+#include <libbuild2/utility.hxx>
+
+namespace build2
+{
+ struct build_installed_init
+ {
+ build_installed_init ()
+ {
+ build_installed = true;
+ }
+ };
+
+ static build_installed_init init_;
+}
+
+#endif