Fixed problems that emerged in list.
[xlqstl.git] / SConstruct
blobace22d72a2ee58159963634fca0286b068d41cf5
1 opts = Variables()
2 opts.AddVariables(
3 BoolVariable('test_ext', 'Test non-standard extensions', False),
6 env = Environment(
7 options = opts,
9 Help(opts.GenerateHelpText(env))
11 env['CPPDEFINES'] = {}
12 if env['test_ext']:
13 env['CPPDEFINES']['TEST_EXT'] = None
15 env.Program('test', Glob('*.cxx'),
16 CXXFLAGS = '-std=c++0x -g -Wall -pedantic -Wno-sign-compare -Wno-variadic-macros')