In a gcc makefile, you can use the -D flag to specify a define in the compiled program. For example, instead of putting #define SOMETHING, you can specify -DSOMETHING in the makefile. What is the equivalent of this in SCons?
I believe you want the CPPDEFINES
construction variable. See the SCons documentation page for some more details, under CPPDEFINES
.