With GCC it's possible to pass a command-line flag like -DDEBUG
and then use conditionals like #ifdef DEBUG
. C++Builder 6 has a built-in notion of "debug mode" vs. "release mode"; is there any way to determine (preferably from within the preprocessor) which mode the application is being built in?
问问题
793 次