blob: c58e9024db972f189b587d21f363abdebe309140 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# 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.
#
# @@ TMP: try to re-enable on next release.
#
if ($c.class == 'msvc')
c.coptions += /wd4267 /wd4996
else
{
if ($c.id.type == 'clang' && $c.version.major >= 15)
c.coptions += -Wno-deprecated-non-prototype
if ($c.id == 'clang' && $c.target.system == 'win32-msvc')
c.coptions += -Wno-deprecated-declarations
}
|