[Insight-developers] Building GaussianFilter Example /
MetaImageIO
Bill Hoffman
bill.hoffman@kitware.com
Fri, 27 Jul 2001 09:34:47 -0400
The way to do it, is to check and make sure the library is built before
building the example, not the other way around.
In the MetaImageIO library add this if it is built:
SET(HAS_METAIMAGE 1 CACHE INTERNAL "meta image support")
If it is not built, then add this if it is not going to built
SET(HAS_METAIMAGE 0 CACHE INTERNAL "no meta image support")
Then in the example:
IF(HAS_METAIMAGE)
ADD_TEST(itkGaussionFilter)
...
ENDIF(HAS_METAIMAGE)
-Bill
At 07:32 AM 7/27/2001 -0400, Luis Ibanez wrote:
>Hi,
>
>There are some errors reported on the Dashboard
>for the GaussianFilter example.
>
>This example requires the MetaImageIO library
>to be built. It is in:
>
> Insight/Unsupported/MetaImage
>
>This library is not built by default.
>
>Is there any way in CMake to ensure that if
>an example requires a library, the option for
>building this library will be activated ?
>
>
>Thanks
>
>
>Luis
>
>
>
>_______________________________________________
>Insight-developers mailing list
>Insight-developers@public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-developers