[vtkusers] kwsys in custom source
Brad King
brad.king at kitware.com
Tue Mar 11 09:52:33 EDT 2008
Dean Inglis wrote:
> I copied kwsys from ITK into our project Utilities dir and
> modelled the CMakeLists.txt in Utilities also after that in ITK.
> Everything works in static mode but in a shared build we are
> getting linker errors.
I'd have to see the specific errors to help with that. However since
you already have your own VTK build the approach below is probably easier.
> If we use a LocalUserOptions.cmake,
> would that file be added to the root of the vtk build tree
> and have in it any KWSYS_USE_foo's set to 1 that we want?
> e.g.,
> SET(KWSYS_USE_SystemInformation 1)
This is correct. I have not tried it but I see no reason why it would
not work.
-Brad
More information about the vtkusers
mailing list