summaryrefslogtreecommitdiff
path: root/libmformat/tests/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-07-20 08:55:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-07-20 08:55:31 +0200
commit0c71feb0363b337152f11e301303f85f9621c148 (patch)
treec87351ae473f43fff599061b9d1389f42357e0fd /libmformat/tests/build
parent28b92b59909030424420fefbca5a3f5df22337b5 (diff)
Add modularized version
Diffstat (limited to 'libmformat/tests/build')
-rw-r--r--libmformat/tests/build/.gitignore1
-rw-r--r--libmformat/tests/build/bootstrap.build5
-rw-r--r--libmformat/tests/build/root.build13
3 files changed, 19 insertions, 0 deletions
diff --git a/libmformat/tests/build/.gitignore b/libmformat/tests/build/.gitignore
new file mode 100644
index 0000000..225c27f
--- /dev/null
+++ b/libmformat/tests/build/.gitignore
@@ -0,0 +1 @@
+config.build
diff --git a/libmformat/tests/build/bootstrap.build b/libmformat/tests/build/bootstrap.build
new file mode 100644
index 0000000..2c2de24
--- /dev/null
+++ b/libmformat/tests/build/bootstrap.build
@@ -0,0 +1,5 @@
+project = # Unnamed subproject.
+
+using config
+using dist
+using test
diff --git a/libmformat/tests/build/root.build b/libmformat/tests/build/root.build
new file mode 100644
index 0000000..58dffed
--- /dev/null
+++ b/libmformat/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