summaryrefslogtreecommitdiff
path: root/libmhello/tests/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-07-20 08:55:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-07-20 08:55:35 +0200
commitb86d23391e4b7882ebfca582d146e75c6cc1e454 (patch)
tree8d002d34199dd24fa5a3898e6943dca62e906d10 /libmhello/tests/build
parentbffe85ae4c01f126c47ab7ea7b220b91d7c65dac (diff)
Add modularized version
Diffstat (limited to 'libmhello/tests/build')
-rw-r--r--libmhello/tests/build/.gitignore1
-rw-r--r--libmhello/tests/build/bootstrap.build5
-rw-r--r--libmhello/tests/build/root.build13
3 files changed, 19 insertions, 0 deletions
diff --git a/libmhello/tests/build/.gitignore b/libmhello/tests/build/.gitignore
new file mode 100644
index 0000000..225c27f
--- /dev/null
+++ b/libmhello/tests/build/.gitignore
@@ -0,0 +1 @@
+config.build
diff --git a/libmhello/tests/build/bootstrap.build b/libmhello/tests/build/bootstrap.build
new file mode 100644
index 0000000..2c2de24
--- /dev/null
+++ b/libmhello/tests/build/bootstrap.build
@@ -0,0 +1,5 @@
+project = # Unnamed subproject.
+
+using config
+using dist
+using test
diff --git a/libmhello/tests/build/root.build b/libmhello/tests/build/root.build
new file mode 100644
index 0000000..58dffed
--- /dev/null
+++ b/libmhello/tests/build/root.build
@@ -0,0 +1,13 @@
+cxx.std = experimental
+
+using cxx
+
+cxx{*}: extension = cxx
+
+# Every exe{} in this subproject is by default a test.
+#
+exe{*}: test = true
+
+# Specify the test target for cross-testing.
+#
+test.target = $cxx.target