[Insight-developers] CMakeLists changes

Bill Hoffman bill.hoffman@kitware.com
Thu, 28 Feb 2002 11:45:01 -0500


I would like to suggest the following changes:

1. Add a CMAKE variable ITK_VTK_INTEGRATION which defaults to OFF.
ITK will not look for VTK unless this is turned on.  This will
allow you to build ITK without VTK, even if you have VTK installed
on your machine, currently you can not do that.


2. Add a CMAKE variable ITK_BUILD_ALL_TESTS which defaults to OFF.
If this is ON, all the current executables would be built for ITK.
If this is OFF, then only a subset of the test executables will be built.
Perhaps one from each directory: 
Algorithms Common Local Patented BasicFilters IO Numerics

Seven executables, would be more manageable than the current 140 or so,
but would also allow people to know if it was building or not.
We talked about this at the meeting, but I don't see a bug tracker entry
for it.

-Bill