summaryrefslogtreecommitdiff
path: root/cli-tests/build/root.build
diff options
context:
space:
mode:
Diffstat (limited to 'cli-tests/build/root.build')
-rw-r--r--cli-tests/build/root.build27
1 files changed, 27 insertions, 0 deletions
diff --git a/cli-tests/build/root.build b/cli-tests/build/root.build
new file mode 100644
index 0000000..53bde39
--- /dev/null
+++ b/cli-tests/build/root.build
@@ -0,0 +1,27 @@
+# file : build/root.build
+# license : MIT; see accompanying LICENSE file
+
+cxx.std = latest
+
+using cxx
+
+hxx{*}: extension = hxx
+ixx{*}: extension = ixx
+txx{*}: extension = txx
+cxx{*}: extension = cxx
+
+if ($cxx.target.system == 'win32-msvc')
+ cxx.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS
+
+if ($cxx.class == 'msvc')
+ cxx.coptions += /wd4251 /wd4275 /wd4800
+
+using cli
+
+# Every exe{} in this subproject is by default a test.
+#
+exe{*}: test = true
+
+# Specify the test target for cross-testing.
+#
+test.target = $cxx.target