[CMake] CMake 2.4.2 generates undebuggable .vcproj projects.

Bill Hoffman bill.hoffman at kitware.com
Thu May 24 15:12:25 EDT 2007


Rob Mathews wrote:
> It seems that the Cmakelists.txt file is missing the "/Zi" option. If
> you include that option, then CMake will do the right thing. Probably,
> in the past, it would do that by default. 
>   
The thing to do would be to add a message("${CMAKE_CXX_FLAGS} 
${CMAKE_CXX_FLAGS_DEBUG} ") into the project.  CMake should initialize 
these flags to the right thing.   My guess is that this project has 
changed those flags and removed the debug flag somehow. 

-Bill



More information about the CMake mailing list