cantera/samples/cxx/SConstruct.in
Ray Speth 0a3927a077 [SCons] SConstruct for C++ demos inherits compiler and options
Use the same values for the compiler name and the compiler flags as were used
when compiling Cantera.
2016-04-06 22:07:51 -04:00

12 lines
398 B
Text

env = Environment(@tmpl_env_args@)
env['CXX'] = '@CXX@'
env.Append(CCFLAGS=@tmpl_compiler_flags@,
CPPPATH=@tmpl_cantera_incdirs@,
LIBS=@tmpl_cantera_libs@,
LIBPATH=@tmpl_cantera_libdirs@,
LINKFLAGS=@tmpl_cantera_linkflags@,
FRAMEWORKS=@tmpl_cantera_frameworks@)
program = env.Program('@tmpl_progname@', '@tmpl_sourcename@')
Default(program)