diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-01-07 22:10:14 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-01-21 14:48:05 +0300 |
commit | 4f986ec6431b6f3f8c951c70a02300d552cd8e02 (patch) | |
tree | da5ddcdf2f1c64702faa0c08cce1e14d872056ec /libz/tests/build | |
parent | 8772691447d50baf12f679ac8c95700a1951d502 (diff) |
Add implementation
Diffstat (limited to 'libz/tests/build')
-rw-r--r-- | libz/tests/build/.gitignore | 3 | ||||
-rw-r--r-- | libz/tests/build/bootstrap.build | 9 | ||||
-rw-r--r-- | libz/tests/build/root.build | 22 |
3 files changed, 34 insertions, 0 deletions
diff --git a/libz/tests/build/.gitignore b/libz/tests/build/.gitignore new file mode 100644 index 0000000..4a730a3 --- /dev/null +++ b/libz/tests/build/.gitignore @@ -0,0 +1,3 @@ +config.build +root/ +bootstrap/ diff --git a/libz/tests/build/bootstrap.build b/libz/tests/build/bootstrap.build new file mode 100644 index 0000000..5cdd64e --- /dev/null +++ b/libz/tests/build/bootstrap.build @@ -0,0 +1,9 @@ +# file : tests/build/bootstrap.build +# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd +# license : zlib License; see accompanying LICENSE file + +project = # Unnamed subproject. + +using config +using dist +using test diff --git a/libz/tests/build/root.build b/libz/tests/build/root.build new file mode 100644 index 0000000..3f268d9 --- /dev/null +++ b/libz/tests/build/root.build @@ -0,0 +1,22 @@ +# file : tests/build/root.build +# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd +# license : zlib License; see accompanying LICENSE file + +using c + +h{*}: extension = h +c{*}: extension = c + +if ($c.target.system == 'win32-msvc') + c.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS + +if ($c.class == 'msvc') + c.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 = $c.target |