[vtk-developers] *vtkMy* : building modules outside VTK 4.0 tree (was RE: vtkLocal in 15 Easy Steps)
Sebastien BARRE
sebastien.barre at kitware.com
Thu Dec 20 18:59:12 EST 2001
At 12/20/2001 06:42 PM, you wrote:
>Hi Sebastien,
>
>Just a quick question: is there a way to specify alternative 'hints'
>files, instead of adding to Wrapping/hints?
Do you mean, adding to VTK/Wrapping/hints ?
Yes, I've just made the modification to vtkMy, there is no a dummy
(zero-byte) hints file in vtkmy/Wrapping/, and you can fill it with your
own values.
Please update your CVS, as I've commited a lot of changes since yesterday.
And even 5 mins ago.
> It would also be very
>nice if the 'hints' file was split up into several files, one for
>each kit. It doesn't seem that this would be very hard to do.
It might be a bit more complicated than you think, since the only way to
change the hint file is to alter VTK_WRAP_HINTS.
This variable is set in vtkMy.cmake:
FIND_FILE (VTK_WRAP_HINTS hints ${VTKMY_SOURCE_DIR}/Wrapping)
MARK_AS_ADVANCED(VTK_WRAP_HINTS)
meaning that it goes in the cache. Having multiple hint file means that the
user won't be able to change the hint file using CMakeSetup for example.
You would have to use SET() I guess to override this value in each
directory, but my opinion is that everything pertaining to the Wrapping
process should be located in the Wrapping/ directory.
--
Sebastien Barre
More information about the vtk-developers
mailing list