[CMake] Bug: SET(CMAKE_DEBUG_POSTFIX "D")
Brad King
brad.king at kitware.com
Fri Sep 29 09:14:30 EDT 2006
Mathieu MARACHE wrote:
> Hi,
> I've got a small bug trying to use configuration postfixes under windows
> with at least NMakes and VisualStudio C++ .NET 7.1 . I used the latest
> 2.4.3 release of CMake.
>
> The following command works for libraries and shared libraries but not
> for executables. For example :
>
> with SET(CMAKE_DEBUG_POSTFIX "D"), libraries get created as expected :
> - myLibD.dll in Debug and
> - myLib.dll in others configurations
>
> but for executables, it is always :
> - myApp.exe
>
> Should I post a bug report (I haven't found any mentioning this yet) ?
Look at the documentation of SET_TARGET_PROPERTIES. You can set a
DEBUG_POSTFIX property on any target. The documentation explains why
CMAKE_DEBUG_POSTFIX doesn't work for executables.
-Brad
More information about the CMake
mailing list