blob: f32dabe16f039511c3282c3464ffafdb8544ab6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# file : tests/regression/buildfile
# license : MIT; see accompanying COPYING file
import libs = libexpat%lib{expat}
exe{driver}: {h c}{**} $libs testscript
switch $c.class
{
case 'gcc'
{
# Disable warnings that pop up with -Wall -Wextra. Upstream doesn't seem
# to care about these and it is not easy to disable specific warnings in a
# way that works across compilers/version (some -Wno-* options are only
# recognized in newer versions).
#
c.coptions += -Wno-all -Wno-extra
}
case 'msvc'
{
# Disable warnings that pop up with /W3.
#
c.coptions += /wd4267
}
}
|