summaryrefslogtreecommitdiff
path: root/libpkgconf/build/root.build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-07-09 22:02:41 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-07-11 15:45:23 +0300
commita0cb8991b2cb61e9c0f3d8075759939cc61d57f0 (patch)
tree07349d877ea962acc800bdad2695417d10c99330 /libpkgconf/build/root.build
parent6ef6c9d2da661bc315d4e690120db9079bfe0b9b (diff)
Add implementation
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
+}