summaryrefslogtreecommitdiff
path: root/libz/tests/minigzip/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'libz/tests/minigzip/buildfile')
-rw-r--r--libz/tests/minigzip/buildfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/libz/tests/minigzip/buildfile b/libz/tests/minigzip/buildfile
new file mode 100644
index 0000000..4f9e780
--- /dev/null
+++ b/libz/tests/minigzip/buildfile
@@ -0,0 +1,14 @@
+# file : tests/minigzip/buildfile
+# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd
+# license : zlib License; see accompanying LICENSE file
+
+import libs = libz%lib{z}
+
+exe{driver}: {h c}{*} $libs testscript
+
+# Disable MSVC warnings that pop up with /W3 and Clang/MSVC warnings.
+#
+if ($c.class == 'msvc')
+ c.coptions += /wd4267 /wd4996
+elif ($c.id == 'clang' && $c.target.system == 'win32-msvc')
+ c.coptions += -Wno-deprecated-declarations