Is there anyway to restrict by using pre-processing directives to prevent a project from compiling when both the Release and Debug symbols are defined?
Please let me know.
Is there anyway to restrict by using pre-processing directives to prevent a project from compiling when both the Release and Debug symbols are defined?
Please let me know.
Assuming C/C++:
#if defined (Debug) && defined (Release)
#error Debug and Release are both defined !
#endif