aboutsummaryrefslogtreecommitdiff
path: root/tests/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-05-06 08:45:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-05-06 09:41:51 +0200
commit2e21b218db0e979d56b7b6027854a86ad7ffc96b (patch)
treef0ebc7c223be1dd88f47cb3399e82659cda09ade /tests/build
parenta54213a4ff48ecfa8fa3b416d12b1282158746dc (diff)
Add libbutl-pkg-config source subdirectory
This is an additional (to libbutl) utility library which contains the source code of libpkg-config configured and tuned for our needs.
Diffstat (limited to 'tests/build')
-rw-r--r--tests/build/root.build5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/build/root.build b/tests/build/root.build
index 515e1c9..5ce7156 100644
--- a/tests/build/root.build
+++ b/tests/build/root.build
@@ -4,15 +4,16 @@
cxx.std = latest
using cxx
+using c
hxx{*}: extension = hxx
cxx{*}: extension = cxx
if ($cxx.target.system == 'win32-msvc')
- cxx.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS
+ cc.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS
if ($cxx.class == 'msvc')
- cxx.coptions += /wd4251 /wd4275 /wd4800
+ cc.coptions += /wd4251 /wd4275 /wd4800
elif ($cxx.id == 'gcc')
{
cxx.coptions += -Wno-maybe-uninitialized -Wno-free-nonheap-object \