summaryrefslogtreecommitdiff
path: root/libpkgconf/build/root.build
diff options
context:
space:
mode:
Diffstat (limited to 'libpkgconf/build/root.build')
-rw-r--r--libpkgconf/build/root.build16
1 files changed, 16 insertions, 0 deletions
diff --git a/libpkgconf/build/root.build b/libpkgconf/build/root.build
new file mode 100644
index 0000000..7e73ef0
--- /dev/null
+++ b/libpkgconf/build/root.build
@@ -0,0 +1,16 @@
+# file : 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
+}