Closed jbdurand closed 8 years ago
@jbdurand I just read the PR. You can either set this flag in the options.py directly. However, if you think that the DEBUG flag is connected directly to the debug compilation(-g), then we have to set this flag in the stones of SConscript.
PS: Rather then Christophe in your messages, just add @pradal, and I will receive a notification.
@jbdurand : In stat_tool, this is already done. https://github.com/VirtualPlants/StructureAnalysis/blob/master/stat_tool/src/cpp/SConscript#L31-L32 It is however a good idea to fix this in all packages.
@pradal : Yes I think we always use -g and -DDEBUG simultaneously. But I have no objection to adding a new specific flag in options.py, which would be added separately from Debug
Update wrappers with respect to new c++ headers and python syntax Modify SConscript so as to add -DDEBUG flag if options.py contains Debug=1 (please Christophe have a look at this)