summaryrefslogtreecommitdiff
path: root/libpkgconf/tests/build/root.build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-07-09 22:02:41 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-07-11 15:45:23 +0300
commita0cb8991b2cb61e9c0f3d8075759939cc61d57f0 (patch)
tree07349d877ea962acc800bdad2695417d10c99330 /libpkgconf/tests/build/root.build
parent6ef6c9d2da661bc315d4e690120db9079bfe0b9b (diff)
Add implementation
Diffstat (limited to 'libpkgconf/tests/build/root.build')
-rw-r--r--libpkgconf/tests/build/root.build24
1 files changed, 24 insertions, 0 deletions
diff --git a/libpkgconf/tests/build/root.build b/libpkgconf/tests/build/root.build
new file mode 100644
index 0000000..fa336d1
--- /dev/null
+++ b/libpkgconf/tests/build/root.build
@@ -0,0 +1,24 @@
+# file : tests/build/root.build
+# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd
+# license : ISC; see accompanying COPYING file
+
+c.std = 99
+
+using c
+
+h{*}: extension = h
+c{*}: extension = c
+
+if ($c.class == 'msvc')
+{
+ c.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS
+ c.coptions += /wd4251 /wd4275 /wd4800
+}
+
+# Every exe{} in this subproject is by default a test.
+#
+exe{*}: test = true
+
+# Specify the test target for cross-testing.
+#
+test.target = $c.target