summaryrefslogtreecommitdiff
path: root/libz/tests/minigzip/buildfile
blob: 4f9e780ab78200131c544011a8eaad407771842c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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