diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-02-01 19:57:18 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-02-01 19:57:18 +0300 |
commit | 5fb195c7fa0af6ecaa9d2d85a68e2de01ba30ff4 (patch) | |
tree | 835ef757eceb65bb6978096e8a5b86cd86a7b641 /libodb-boost/tests/build/root.build | |
parent | ec090a0330850adfa1b5df4bf1b064f9449678fd (diff) | |
parent | 52426a687a63e9cc900a08fe9a5e1584b3acf5d1 (diff) |
Merge branch 'libodb-boost' into multi-package
Diffstat (limited to 'libodb-boost/tests/build/root.build')
-rw-r--r-- | libodb-boost/tests/build/root.build | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libodb-boost/tests/build/root.build b/libodb-boost/tests/build/root.build new file mode 100644 index 0000000..6c5a90b --- /dev/null +++ b/libodb-boost/tests/build/root.build @@ -0,0 +1,23 @@ +# file : tests/build/root.build +# license : GNU GPL v2; see accompanying LICENSE file + +cxx.std = latest + +using cxx + +hxx{*}: extension = hxx +cxx{*}: extension = cxx + +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. +# +exe{*}: test = true + +# Specify the test target for cross-testing. +# +test.target = $cxx.target |