aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-11-30 18:15:58 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-11-30 18:15:58 +0200
commit6e18ee41d75f73e8ef62ea296a9a2cc5af45acea (patch)
treeb6c473e44f146819cfce47081e765a6e99f54455 /build
parented79e798327c9d18c2b5b2dfea8ad98b4d69f883 (diff)
Add install support
Diffstat (limited to 'build')
-rw-r--r--build/bootstrap.build2
-rw-r--r--build/root.build8
2 files changed, 5 insertions, 5 deletions
diff --git a/build/bootstrap.build b/build/bootstrap.build
index 9d71e6a..414549d 100644
--- a/build/bootstrap.build
+++ b/build/bootstrap.build
@@ -5,8 +5,10 @@
project = build2
version = 0.1.0
subprojects = # No subprojects.
+
using config
using dist
using test
+using install
dist.package = $project-$version
diff --git a/build/root.build b/build/root.build
index 1afbe80..1be6cb7 100644
--- a/build/root.build
+++ b/build/root.build
@@ -12,9 +12,7 @@ cxx.ext = cxx
cxx.std = 14
cxx.poptions += -I$src_root
-# All exe{} in tests/ are, well, tests.
+# All exe{} in tests/ are, well, tests. Don't install them.
#
-tests/:
-{
- test.exe = true
-}
+tests/: test.exe = true
+tests/: install = false