aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-11-30 09:00:01 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-11-30 09:00:01 +0200
commit07fe5daf754b44af250c38d40bd803a2bb9ce18d (patch)
tree790d9a74b172b60a4d83d13b3e5e6bfdde095f7d
parente0458b1d739cab749f748d32d82d15bf0ffd9d6e (diff)
First build iteration: dist and update work, still requires cli
-rw-r--r--build/bootstrap.build13
-rw-r--r--build/root.build5
-rw-r--r--buildfile7
3 files changed, 25 insertions, 0 deletions
diff --git a/build/bootstrap.build b/build/bootstrap.build
new file mode 100644
index 0000000..4e7f0b7
--- /dev/null
+++ b/build/bootstrap.build
@@ -0,0 +1,13 @@
+# file : build/bootstrap.build
+# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+project = build2-toolchain
+version = 0.1.0
+subprojects = libbutl build2 libbpkg bpkg
+
+using config
+using dist
+using test # Note: needed for dist to work in subprojects with tests.
+
+dist.package = $project-$version
diff --git a/build/root.build b/build/root.build
new file mode 100644
index 0000000..8b61f1c
--- /dev/null
+++ b/build/root.build
@@ -0,0 +1,5 @@
+# file : build/root.build
+# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+using cxx # For common configuration.
diff --git a/buildfile b/buildfile
new file mode 100644
index 0000000..878d03c
--- /dev/null
+++ b/buildfile
@@ -0,0 +1,7 @@
+# file : buildfile
+# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+d = libbutl/ build2/ libbpkg/ bpkg/
+./: $d file{version}
+include $d