[CMake] CMake 2.4.2 generates undebuggable .vcproj projects.
Rob Mathews
Rob.Mathews at varolii.com
Thu May 24 15:39:22 EDT 2007
I guess.
Thing is, from the other comments, it seems to be working for later
versions of the release, and for my own project I simply added "/Zi", so
I don't think there is much point in figuring out what might be wrong
with an older distribution of CMake.
-----Original Message-----
From: Bill Hoffman [mailto:bill.hoffman at kitware.com]
Sent: Thursday, May 24, 2007 3:12 PM
To: Rob Mathews
Cc: cmake at cmake.org
Subject: Re: [CMake] CMake 2.4.2 generates undebuggable .vcproj
projects.
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