diff options
Diffstat (limited to 'build/root.build')
-rw-r--r-- | build/root.build | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/build/root.build b/build/root.build index 5eabb0b..0e1f5a5 100644 --- a/build/root.build +++ b/build/root.build @@ -1,8 +1,7 @@ # file : build/root.build -# copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC # license : MIT; see accompanying LICENSE file -cxx.std = 11 +cxx.std = latest using cxx @@ -11,8 +10,8 @@ cxx{*}: extension = cxx ixx{*}: extension = ixx txx{*}: extension = txx -if ($cxx.class == 'msvc') -{ +if ($cxx.target.system == 'win32-msvc') cxx.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS + +if ($cxx.class == 'msvc') cxx.coptions += /wd4251 /wd4275 /wd4800 -} |