blob: 9419fa13465f4b511904791c8f3ef86e2da3f8ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# file : tests/minigzip/buildfile
# 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 warnings.
#
if ($c.class == 'msvc')
c.coptions += /wd4267 /wd4996
elif ($c.id == 'clang')
{
if ($c.version.major >= 15)
c.coptions += -Wno-deprecated-non-prototype
if ($c.target.system == 'win32-msvc')
c.coptions += -Wno-deprecated-declarations
}
|