10-05-2010 11:11 AM
Hi - I want to detect during compilation whether the user has set CVI to compile the code as a release build or as a standard debug build. Are there simple preprocessor conditionals to test for this?
Thanks
Gareth
Solved! Go to Solution.
10-05-2010 11:15 AM
Hey Gareth -
The _CVI_DEBUG_ predefined macro will be set for debug builds. You can see the list of all predefined macros by going to Options»Build Options»Predefined Macros.
NickB
National Instruments
10-05-2010 11:34 AM
Perfect! Thanks a lot for your quick response!
10-05-2010 11:56 AM
You can see a little more info on the predefined macros through the CVI Help. From CVI, go to Help >> Contents >> Index, then enter Predefined macros.