aboutsummaryrefslogtreecommitdiff
path: root/tests/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-14 12:21:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-14 12:21:54 +0200
commitffb9168aa83b8d61dd4af2d9516b14eb657ce08a (patch)
tree24692eb6816a5b7d6b27d3a83dc300692e6c5ef9 /tests/build
parent2ce1b689c40e1fed002c960f1fbbee5058ed1627 (diff)
Initial build2 build support
Diffstat (limited to 'tests/build')
-rw-r--r--tests/build/bootstrap.build9
-rw-r--r--tests/build/root.build11
2 files changed, 20 insertions, 0 deletions
diff --git a/tests/build/bootstrap.build b/tests/build/bootstrap.build
new file mode 100644
index 0000000..2f8aad2
--- /dev/null
+++ b/tests/build/bootstrap.build
@@ -0,0 +1,9 @@
+# file : tests/build/bootstrap.build
+# copyright : Copyright (c) 2009-2015 Code Synthesis Tools CC
+# license : GNU GPL v2; see accompanying LICENSE file
+
+project = # Unnamed subproject.
+
+using config
+using dist
+using test
diff --git a/tests/build/root.build b/tests/build/root.build
new file mode 100644
index 0000000..9d11dd5
--- /dev/null
+++ b/tests/build/root.build
@@ -0,0 +1,11 @@
+# file : tests/build/root.build
+# copyright : Copyright (c) 2009-2015 Code Synthesis Tools CC
+# license : GNU GPL v2; see accompanying LICENSE file
+
+using cxx
+
+cxx.std = 11
+
+# Every exe{} in this subproject is by default a test.
+#
+exe{*}: test = true