I have CMake project that I use to generate a set of Visual Studio project files. On the CMake side I explicitly turn off CMAKE_EXE_LINKER_FLAGS and CMAKE_EXE_LINKER_FLAGS_RELEASE by setting their values to the empty string "". When CMake generates the project files, I can open the .vcproj file and check to make sure that /DEBUG does not appear in the linker flags for the Release section of my program. However, when I open the solution in Visual Studio (2008 BTW), Visual Studio seems to automatically turn on /DEBUG in the linker settings for my program. I need /DEBUG to be turned off for my Release configuration. Does anyone know what is going on in this situation?<br>
<br>Thanks,<br><br>Steve<br>