vtkLocal in 15 Easy Steps (was RE: [vtkusers] VTK 4.0 Local?)

Sebastien BARRE sebastien.barre at kitware.com
Wed Dec 19 11:51:11 EST 2001


At 12/19/2001 09:48 AM, Volpe, Christopher R (CRD) wrote:
>Well, it's been suggested before, but the kitware folks say it leads to 
>problems where, if the
>directory's recognized by CVS, people will inadvertently check in their 
>own local files.

Which is the same situation with your approach:

>2) Add the following to vtkCMakeOptions.cmake:
>3) Add the following to vtkToolkits.h.in:
>4) Add the following to Wrapping/vtktcl.c:
>6) Add the following to Wrapping/Tcl/tkAppInit.cxx.in:
>7) Add the following to Wrapping/Tcl/vtktcl.c:
>8) Add the following to Wrapping/Tcl/vtk/vtk.tcl
>12) Add the following to Wrapping/Tcl/MakePackages.tcl

You are modifying here 7 CVS files.

Two problems:

- as reported before, you advise to modify CVS files, and it could be 
dangerous, since people could commit these files to the main VTK CVS.

- your approach will work for you. But what if your team share the same VTK 
build dir and some other people want to build their very own local stuff ? 
You will end up all modifying the main VTK source files, thus potentially 
mixing your own local classes/settings, etc.

=> Today, I will create a full-fledged example (and post it to the CVS) on 
how to build a local directory with your own classes, using whatever VTK 
build dir, and without modifying any of the VTK files.



--
Sebastien Barre




More information about the vtkusers mailing list