diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-12-03 12:40:21 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-12-03 12:40:21 +0300 |
commit | 4f7038f39171bd7e52d1c18ddb61ce900d95021c (patch) | |
tree | a420265b39d5a3983c2c9df925bc52e920a826ad /tests/build/root.build | |
parent | 9b9be16a7c6e75e2ca29f1dd9f136d3cf104dc39 (diff) |
Suppress MSVC warnings at project level
Diffstat (limited to 'tests/build/root.build')
-rw-r--r-- | tests/build/root.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/build/root.build b/tests/build/root.build index a55d412..db02854 100644 --- a/tests/build/root.build +++ b/tests/build/root.build @@ -9,6 +9,12 @@ using cxx hxx{*}: extension = hxx cxx{*}: extension = cxx +if ($cxx.class == 'msvc') +{ + cxx.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS + cxx.coptions += /wd4251 /wd4275 /wd4800 +} + # Every exe{} in this subproject is by default a test. # exe{*}: test = true |