Use the same values for the compiler name and the compiler flags as were used when compiling Cantera.
12 lines
398 B
Text
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)
|