aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/root.build8
-rw-r--r--manifest2
-rw-r--r--odb/buildfile2
-rw-r--r--tests/build/root.build8
4 files changed, 10 insertions, 10 deletions
diff --git a/build/root.build b/build/root.build
index 697f33c..653ded7 100644
--- a/build/root.build
+++ b/build/root.build
@@ -2,7 +2,7 @@
# 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 +11,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
-}
diff --git a/manifest b/manifest
index 5a0a411..26c8b96 100644
--- a/manifest
+++ b/manifest
@@ -5,7 +5,7 @@ project: odb
summary: Common ODB runtime library
license: GPLv2
license: proprietary
-tags: c++, orm, database, relational, object, persistence, sql
+topics: C++, ORM, SQL, object persistence, relational database
description-file: README
changes-file: NEWS
url: https://www.codesynthesis.com/products/odb/
diff --git a/odb/buildfile b/odb/buildfile
index 4a9a7cc..5eb0866 100644
--- a/odb/buildfile
+++ b/odb/buildfile
@@ -69,7 +69,7 @@ details/build2/
{
h{*}: install = false
- if ($cxx.class == 'msvc')
+ if ($cxx.target.system == 'win32-msvc')
{
h{config-vc}@./: install = $install_include/details/
h{config-vc-stub}@./: install = $install_include/details/build2/config-vc.h
diff --git a/tests/build/root.build b/tests/build/root.build
index ac9d361..da6ff40 100644
--- a/tests/build/root.build
+++ b/tests/build/root.build
@@ -2,18 +2,18 @@
# 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
hxx{*}: extension = hxx
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
-}
# Every exe{} in this subproject is by default a test.
#