summaryrefslogtreecommitdiff
path: root/test/build/root.build
diff options
context:
space:
mode:
Diffstat (limited to 'test/build/root.build')
-rw-r--r--test/build/root.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/build/root.build b/test/build/root.build
index 2021631..2db66fd 100644
--- a/test/build/root.build
+++ b/test/build/root.build
@@ -3,6 +3,12 @@
using 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