View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005065VTK(No Category)public2007-05-21 01:312016-08-12 09:54
ReporterAndrew Maclean 
Assigned ToWill Schroeder 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005065: Build debug and release libs/dlls to the same directory.
DescriptionAn option to build/install debug and release libs/dlls to the same directory.

I think this can be easily done by changging: <VTK_DIR>\Cmake\KitCommonBlock.cmake
From:
IF(VTK_LIBRARY_PROPERTIES)
  SET_TARGET_PROPERTIES(${KIT_LIBRARY_TARGETS} PROPERTIES
    ${VTK_LIBRARY_PROPERTIES}
    )
  
ENDIF(VTK_LIBRARY_PROPERTIES)
to:
IF(VTK_LIBRARY_PROPERTIES)
  SET_TARGET_PROPERTIES(${KIT_LIBRARY_TARGETS} PROPERTIES
    ${VTK_LIBRARY_PROPERTIES}
    )

#Add this line to change the output debug library name to *_d.lib/.dll
  SET_TARGET_PROPERTIES(${KIT_LIBRARY_TARGETS} PROPERTIES
    DEBUG_POSTFIX _d
    )

ENDIF(VTK_LIBRARY_PROPERTIES)

This is documented at the following URL: http://www.vesuite.org/forum/viewtopic.php?=&p=341 [^]

Can this be extended to include an option to add the _d extension automatically when building VTK?

The rationale is that when building your own code it would be nice to automatically include either the debug or release versions as appropriate.
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0036913)
Kitware Robot (administrator)
2016-08-12 09:54

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2016-08-12 09:54 Kitware Robot Note Added: 0036913
2016-08-12 09:54 Kitware Robot Status expired => closed
2016-08-12 09:54 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team