aboutsummaryrefslogtreecommitdiff
path: root/tests/build/root.build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-07-13 14:34:48 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-13 17:21:22 +0300
commited1d2220091e88f02309c67c889bfe4fc4a705e1 (patch)
treec3137fa2b2c4a8053d2665ea707bae0e640c5a19 /tests/build/root.build
parent5c186f901ea7d1b09ab551a3fd2a6c1fd2426d59 (diff)
Make tests to be a sub-project
Diffstat (limited to 'tests/build/root.build')
-rw-r--r--tests/build/root.build18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/build/root.build b/tests/build/root.build
new file mode 100644
index 0000000..3f39ff5
--- /dev/null
+++ b/tests/build/root.build
@@ -0,0 +1,18 @@
+# file : tests/build/root.build
+# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+cxx.std = latest
+
+using cxx
+
+hxx{*}: extension = hxx
+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