[Insight-users] Examples/vtkITK

Luis Ibanez luis.ibanez@kitware.com
Mon, 09 Dec 2002 23:06:15 -0500


Hi Neil,

If you want to disable just the example in
vtkITK you can also proceed by modifying the
CMakeList.txt file in the Insight/Examples
directory (note that this is for ITK 1.0;
in the current ITK version, the applications
have been moved to Insigh/Applications)

--

Edit the CMakeLists.txt file and locate the
line that contains:

IF(HAS_VTK)
   IF (VTK_WRAP_TCL)
     SUBDIRS(vtkITK)
   ENDIF (VTK_WRAP_TCL)
ENDIF(HAS_VTK)

remove or comment out the line "SUBDIR(vtkITK)".
This will prevent this directory from being included
in the ones visited by Makefiles.

You probably will also have to remove or comment the
following example:

IF(HAS_VTK)
   IF (VTK_WRAP_TCL)
     SUBDIRS(SegmentationEditor)
   ENDIF (VTK_WRAP_TCL)
ENDIF(HAS_VTK)


Please let us know if you find any problems


Thanks


Luis


==================================
Neil Killeen wrote:

> Luis
> 
> p.s.
> 
> Actually, I see that there are many vtk-dependednt applications
> apart from those in the vtkitk directory and these have
> built ok.   So I think I will just have to accept that this layer
> is not going to build (the README in it says use at your
> own risk !)
> 
> cheers
> Neil
> 
> On Tue, 10 Dec 2002, Neil Killeen wrote:
> 
>