[Insight-users] Configuring ITK's and VTK's CMakeLists to use debug postfixes

Luis Ibanez luis.ibanez at kitware.com
Tue May 8 08:56:51 EDT 2007


Hi Andreas,

You probably will find a better answer to this question
if you post it to the CMake users list.


You can subscribe to the CMake users list at:

    http://www.cmake.org/HTML/MailingLists.html



   Regards,



        Luis



----------------------
Andreas Keil wrote:
> Dear all,
> 
> I'd like to use debug and release builts of ITK and VTK in the shared lib
> form (as DLL under WinXP). Is it possible to configure CMake to add a "D"
> postfix to all library names for the debug configuration?
> 
> I figured out that there's a CMake command
>    SET_TARGET_PROPERTIES(libname PROPERTIES DEBUG_POSTFIX "D")
> but it seems that this property would have to be set for every single
> library which would in turn require a lot of modifications in ITK's/VTK's
> CMake files.
> 
> Is there any way to globally enforce a "D" postfix on any debug build?
> 
> Thank you,
> Andreas.
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 


More information about the Insight-users mailing list