Merge pull request #2 from bentley/cxxtest
testrunner: respect environment-defined CXX (like other gambatte parts do).
This commit is contained in:
commit
eb746674af
@ -1,11 +1,15 @@
|
||||
global_cflags = ARGUMENTS.get('CFLAGS', '-Wall -Wextra -O2 -g')
|
||||
global_cxxflags = ARGUMENTS.get('CXXFLAGS', global_cflags + ' -fno-exceptions -fno-rtti')
|
||||
global_defines = ' -DHAVE_STDINT_H'
|
||||
vars = Variables()
|
||||
vars.Add('CC')
|
||||
vars.Add('CXX')
|
||||
|
||||
env = Environment(CPPPATH = ['.', '../libgambatte/include'],
|
||||
CFLAGS = global_cflags + global_defines,
|
||||
CXXFLAGS = global_cxxflags + global_defines,
|
||||
LIBS = 'm')
|
||||
LIBS = 'm',
|
||||
variables = vars)
|
||||
|
||||
sourceFiles = Split('''
|
||||
testrunner.cpp
|
||||
|
Loading…
x
Reference in New Issue
Block a user