I’m using xcode, and find it pleasant to use the degug scheme for testing and the release scheme for the actual project. Therefor i also want to be able to separate the settings.
Until now, i’ve been solving this issue as follows:
I added IS_DEBUG to Build Settings > Preprocessor Macros > Debug. (See my post on ofLog)
Now i can use it like this:
#ifndef IS_DEBUG // Load Settings when in productive setup XML.loadFile("settings.xml"); #endif
Is there a oF way of solving this issue?