diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-02-15 03:27:02 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-02-15 03:27:02 +0300 |
commit | 29827fde524a42fe343b32ea3c2f543e9ed3ee55 (patch) | |
tree | e0c47c289a4f9f16793d7338d27bba92dc3f4118 /libicuuc/tests/build/root.build | |
parent | 10887109a7f8ebd1b0ac1fb18dc59c94d1d1307b (diff) |
Release version 65.1.0+1v65.1.0+1
Drop copyright notice from source code
Convert libicuuc test from C to C++ so it can link library statically
Drop linking -lpthread and -lm for MinGW GCC
Diffstat (limited to 'libicuuc/tests/build/root.build')
-rw-r--r-- | libicuuc/tests/build/root.build | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/libicuuc/tests/build/root.build b/libicuuc/tests/build/root.build index be01522..76b5bd7 100644 --- a/libicuuc/tests/build/root.build +++ b/libicuuc/tests/build/root.build @@ -1,17 +1,18 @@ # file : tests/build/root.build -# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd # license : Unicode License; see accompanying LICENSE file -using c +cxx.std = latest -h{*}: extension = h -c{*}: extension = c +using cxx -if ($c.target.system == 'win32-msvc') - c.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS +hxx{*}: extension = h +cxx{*}: extension = cpp -if ($c.class == 'msvc') - c.coptions += /wd4251 /wd4275 /wd4800 +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. # @@ -19,4 +20,4 @@ exe{*}: test = true # Specify the test target for cross-testing. # -test.target = $c.target +test.target = $cxx.target |