diff options
Diffstat (limited to 'libz/build/root.build')
-rw-r--r-- | libz/build/root.build | 16 |
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 |