summaryrefslogtreecommitdiff
path: root/libz/build/root.build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-01-07 22:10:14 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-01-21 14:48:05 +0300
commit4f986ec6431b6f3f8c951c70a02300d552cd8e02 (patch)
treeda5ddcdf2f1c64702faa0c08cce1e14d872056ec /libz/build/root.build
parent8772691447d50baf12f679ac8c95700a1951d502 (diff)
Add implementation
Diffstat (limited to 'libz/build/root.build')
-rw-r--r--libz/build/root.build16
1 files changed, 16 insertions, 0 deletions
diff --git a/libz/build/root.build b/libz/build/root.build
new file mode 100644
index 0000000..eab145c
--- /dev/null
+++ b/libz/build/root.build
@@ -0,0 +1,16 @@
+# file : build/root.build
+# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd
+# license : zlib License; see accompanying LICENSE file
+
+using in
+
+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