From 7f235e1d24ce525a2bd032cefa82d96ccfdc8a19 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 26 Dec 2019 23:05:57 +0300 Subject: Add implementation --- libicuio/tests/build/.gitignore | 3 +++ libicuio/tests/build/bootstrap.build | 9 +++++++++ libicuio/tests/build/root.build | 24 ++++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 libicuio/tests/build/.gitignore create mode 100644 libicuio/tests/build/bootstrap.build create mode 100644 libicuio/tests/build/root.build (limited to 'libicuio/tests/build') diff --git a/libicuio/tests/build/.gitignore b/libicuio/tests/build/.gitignore new file mode 100644 index 0000000..4a730a3 --- /dev/null +++ b/libicuio/tests/build/.gitignore @@ -0,0 +1,3 @@ +config.build +root/ +bootstrap/ diff --git a/libicuio/tests/build/bootstrap.build b/libicuio/tests/build/bootstrap.build new file mode 100644 index 0000000..17797c1 --- /dev/null +++ b/libicuio/tests/build/bootstrap.build @@ -0,0 +1,9 @@ +# file : tests/build/bootstrap.build +# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd +# license : Unicode License; see accompanying LICENSE file + +project = # Unnamed subproject. + +using config +using dist +using test diff --git a/libicuio/tests/build/root.build b/libicuio/tests/build/root.build new file mode 100644 index 0000000..e8283ae --- /dev/null +++ b/libicuio/tests/build/root.build @@ -0,0 +1,24 @@ +# file : tests/build/root.build +# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd +# license : Unicode License; see accompanying LICENSE file + +cxx.std = 14 + +using cxx + +hxx{*}: extension = h +cxx{*}: extension = cpp + +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 -- cgit v1.1