aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-12-03 12:00:40 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-12-03 12:00:40 +0300
commitde48dc1954af14f1a569a1d4132b5261c21f1274 (patch)
tree41aa935ecbb232f911ff4983fa2cbfe6e31349c7
parente594a0e81c7613880e3c013bb01f38d4d4dda848 (diff)
Suppress MSVC warnings at project level
-rw-r--r--build/root.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/root.build b/build/root.build
index 88800ea..f362f58 100644
--- a/build/root.build
+++ b/build/root.build
@@ -12,3 +12,9 @@ hxx{*}: extension = hxx
ixx{*}: extension = ixx
txx{*}: extension = txx
cxx{*}: extension = cxx
+
+if ($cxx.class == 'msvc')
+{
+ cxx.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS
+ cxx.coptions += /wd4251 /wd4275 /wd4800
+}