diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-07-29 23:11:56 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-07-31 13:28:47 +0300 |
commit | d7ed5335b90175300349669fd102c4d44b05c381 (patch) | |
tree | 700e84d023d25c82dd75931eae2b1a1312e96947 /libexpat/tests/build/root.build | |
parent | 2a98ae9d1b795b398d53996e35ae50b63aba3774 (diff) |
Add implementation
Diffstat (limited to 'libexpat/tests/build/root.build')
-rw-r--r-- | libexpat/tests/build/root.build | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libexpat/tests/build/root.build b/libexpat/tests/build/root.build new file mode 100644 index 0000000..2d95750 --- /dev/null +++ b/libexpat/tests/build/root.build @@ -0,0 +1,21 @@ +# file : tests/build/root.build +# license : MIT; see accompanying COPYING 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 + +# The test target for cross-testing (running tests under Wine, etc). +# +test.target = $c.target |