aboutsummaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
Diffstat (limited to 'build/root.build')
-rw-r--r--build/root.build9
1 files changed, 4 insertions, 5 deletions
diff --git a/build/root.build b/build/root.build
index 697f33c..882047d 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 : GNU GPL v2; see accompanying LICENSE file
-cxx.std = 11
+cxx.std = latest
using cxx
@@ -11,8 +10,8 @@ ixx{*}: extension = ixx
txx{*}: extension = txx
cxx{*}: extension = cxx
-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
-}