Feb 17, 2017
03:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 17, 2017
03:53 PM
It's it possible for the code to find out the name of the build configuration that's being used. I know I can #ifdef NDEBUG to detect of this build is the debug one or not, but what if there was a third configuration. It's there some way the code could get the name of the configuration as a string. I.e "debug" or "release", etc.? Many thanks
Solved! Go to Solution.
1 Solution
Feb 18, 2017
06:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 18, 2017
06:58 AM
just use
#ifdef DEBUG
const char Configuration[] = "Debug";
#endif
Bob
5 Replies