diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-12-03 12:58:09 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-12-03 12:58:09 +0300 |
commit | 752da65b5e99d758764ff81303d936532229b1a0 (patch) | |
tree | ba58805ae85db8ca87f200ea9259dfb09747ffcc /build | |
parent | f02ab196c0c5768db8fec51bd2bee4fdee84676e (diff) |
Suppress MSVC warnings at project level
Diffstat (limited to 'build')
-rw-r--r-- | build/root.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build/root.build b/build/root.build index 25b7169..a2f3836 100644 --- a/build/root.build +++ b/build/root.build @@ -9,4 +9,10 @@ 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 +} + using in |