diff options
Diffstat (limited to 'libpkgconf/tests/build')
-rw-r--r-- | libpkgconf/tests/build/.gitignore | 3 | ||||
-rw-r--r-- | libpkgconf/tests/build/bootstrap.build | 9 | ||||
-rw-r--r-- | libpkgconf/tests/build/root.build | 24 |
3 files changed, 36 insertions, 0 deletions
diff --git a/libpkgconf/tests/build/.gitignore b/libpkgconf/tests/build/.gitignore new file mode 100644 index 0000000..4a730a3 --- /dev/null +++ b/libpkgconf/tests/build/.gitignore @@ -0,0 +1,3 @@ +config.build +root/ +bootstrap/ diff --git a/libpkgconf/tests/build/bootstrap.build b/libpkgconf/tests/build/bootstrap.build new file mode 100644 index 0000000..a14e33e --- /dev/null +++ b/libpkgconf/tests/build/bootstrap.build @@ -0,0 +1,9 @@ +# file : tests/build/bootstrap.build +# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd +# license : ISC; see accompanying COPYING file + +project = # Unnamed subproject. + +using config +using dist +using test diff --git a/libpkgconf/tests/build/root.build b/libpkgconf/tests/build/root.build new file mode 100644 index 0000000..fa336d1 --- /dev/null +++ b/libpkgconf/tests/build/root.build @@ -0,0 +1,24 @@ +# file : tests/build/root.build +# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd +# license : ISC; see accompanying COPYING file + +c.std = 99 + +using c + +h{*}: extension = h +c{*}: extension = c + +if ($c.class == 'msvc') +{ + c.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS + 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 |