[vtkusers] Generate debug libraries with _d postfix
ben.boeckel at kitware.com
Fri Feb 12 11:43:55 EST 2016
On Fri, Feb 12, 2016 at 10:26:18 +0100, Fernando Nellmeldin wrote:
> However, that doesn't work for VTK 6.3.0 nor VTK 7.0.0. (for 5.10 does just
> what I want).
Probably due to the module system changes for VTK6.
> Any thoughts of how to do the same on these versions?
Some logic could be added to CMake/vtkModuleMacros.cmake:624 or so
(inside of vtk_module_library) to do this for Windows.
> PS: I'm using CMake with VS2010 generator under windows8, but I think the
> solution should be general.
Well, at least on Windows. Other platforms don't have the debug/release
runtime library split and such things are annoying to work with
elsewhere (I regularly debug a single library and not having to build
the entire stack because the library name changed is a big plus).
More information about the vtkusers