Thanks Brad,

That did the trick !

BTW, we tried to buy the CMake book this summer but our supplier told us it was not edited anymore... Is this true ? And if yes will an updated version of the book be released ?

Best regards,
Mathieu

2006/9/29, Brad King <[EMAIL PROTECTED]>:
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



--
Mathieu
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to