aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-09-01 08:35:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-09-01 08:35:37 +0200
commit28f3f8b92fc0b90d6646712eb2304c63c7fbc80e (patch)
tree22627bed13e2ac515a957f5012494a01b34f6834 /build
parent3e9ecd86a6c4f1b01e446fba92369e71872b0d77 (diff)
Build system update
Diffstat (limited to 'build')
-rw-r--r--build/.gitignore1
-rw-r--r--build/bootstrap.build7
-rw-r--r--build/root.build10
3 files changed, 10 insertions, 8 deletions
diff --git a/build/.gitignore b/build/.gitignore
new file mode 100644
index 0000000..225c27f
--- /dev/null
+++ b/build/.gitignore
@@ -0,0 +1 @@
+config.build
diff --git a/build/bootstrap.build b/build/bootstrap.build
index dfab993..ddf9a05 100644
--- a/build/bootstrap.build
+++ b/build/bootstrap.build
@@ -3,13 +3,14 @@
# license : MIT; see accompanying LICENSE file
project = build2-toolchain
-version = 0.4.0-a1
subprojects = libbutl build2 libsqlite3 libodb libodb-sqlite libbpkg bpkg
using build@0.4.0-a1
+
+version = 0.4.0-a1
+dist.package = $project-$version
+
using config
using dist
using test # Note: needed for dist to work in subprojects with tests.
using install
-
-dist.package = $project-$version
diff --git a/build/root.build b/build/root.build
index 927ee64..ac55324 100644
--- a/build/root.build
+++ b/build/root.build
@@ -2,9 +2,9 @@
# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-# Load common modules that are used by subproject so that they use
-# common configuration.
+# Load common modules that are used by subproject so that they use common
+# configuration.
#
-using cxx
-using c
-using? cli
+using cxx.config
+using c.config
+using? cli.config