Add CPPDEFINES to the compile command

This commit is contained in:
Simon Robertshaw
2012-08-13 18:23:33 +01:00
parent d8c299c30a
commit 723677d431
2 changed files with 7 additions and 2 deletions

View File

@@ -237,7 +237,7 @@ if(GetOption('everythingAtOnce')):
env.Command(['generated/ElementClasses.cpp', 'generated/ElementClasses.h'], Glob('src/simulation/elements/*.cpp'), "python generator.py elements $TARGETS $SOURCES")
env.Command(['generated/ToolClasses.cpp', 'generated/ToolClasses.h'], Glob('src/simulation/tools/*.cpp'), "python generator.py tools $TARGETS $SOURCES")
env.Decider('MD5')
t=env.Program(target=programName, source=sources)
t=env.MFProgram(target=programName, source=sources)
Default(t)
else:
env.Command(['generated/ElementClasses.cpp', 'generated/ElementClasses.h'], Glob('src/simulation/elements/*.cpp'), "python generator.py elements $TARGETS $SOURCES")