aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-31 12:57:01 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-31 12:57:01 +0200
commit77bc33bcdf611d0f5c703d3d8e20d6f5aff8814c (patch)
tree242909f8eaba11d2ff34b5cc6ccacc27fc34846b /build
parent26aadd17ab7cf9b093b64ffc696d317b127e181d (diff)
Add build2-based build system
Diffstat (limited to 'build')
-rw-r--r--build/.gitignore1
-rw-r--r--build/bootstrap.build26
-rw-r--r--build/export.build10
-rw-r--r--build/root.build14
4 files changed, 51 insertions, 0 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
new file mode 100644
index 0000000..e4b58a9
--- /dev/null
+++ b/build/bootstrap.build
@@ -0,0 +1,26 @@
+# file : build/bootstrap.build
+# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC
+# license : MIT; see accompanying LICENSE file
+
+project = libstudxml
+
+using build@0.4.0-a1
+
+version = 1.1.0-a4
+
+abi_major = 1
+abi_minor = 1
+abi_patch = 0
+abi_prerelease = true
+
+revision = 0
+
+dist.package = $project-$version
+
+if ($revision != 0)
+ dist.package += +$revision
+
+using config
+using dist
+using test
+using install
diff --git a/build/export.build b/build/export.build
new file mode 100644
index 0000000..6d62864
--- /dev/null
+++ b/build/export.build
@@ -0,0 +1,10 @@
+# file : build/export.build
+# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC
+# license : MIT; see accompanying LICENSE file
+
+$out_root/:
+{
+ include xml/
+}
+
+export $out_root/xml/lib{studxml}
diff --git a/build/root.build b/build/root.build
new file mode 100644
index 0000000..a6cb63a
--- /dev/null
+++ b/build/root.build
@@ -0,0 +1,14 @@
+# file : build/root.build
+# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC
+# license : MIT; see accompanying LICENSE file
+
+cxx.std = 11
+
+using cxx
+
+hxx{*}: extension =
+cxx{*}: extension = cxx
+ixx{*}: extension = ixx
+txx{*}: extension = txx
+
+using c