diff options
Diffstat (limited to 'libcrypto/tests')
-rw-r--r-- | libcrypto/tests/build/root.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libcrypto/tests/build/root.build b/libcrypto/tests/build/root.build index 02e2e5d..b14a261 100644 --- a/libcrypto/tests/build/root.build +++ b/libcrypto/tests/build/root.build @@ -7,6 +7,12 @@ using c h{*}: extension = h c{*}: extension = c +if ($c.target.system == 'win32-msvc') + c.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS + +if ($c.class == 'msvc') + c.coptions += /wd4251 /wd4275 /wd4800 + # Every exe{} in this subproject is by default a test. # exe{*}: test = true |