#include <cpPlugins_Instances_BaseObjects_Export.h>
#include <cpPlugins_Instances/BaseObjects.h>
+#include <cpPlugins_Config.h>
#include <itkImageRegion.h>
#include <itkFixedArray.h>
cpPlugins_Instances_BaseObjects_extra_Array_AllScalars_AllDims( itk::Vector );
// -------------------------------------------------------------------------
+#ifndef cpPlugins_SYS_MACOS
+
#define cpPlugins_Instances_BaseObjects_extra_VariableLengthVector_SetSize( T, P, Q ) \
template cpPlugins_Instances_BaseObjects_EXPORT void itk::VariableLengthVector< T >:: \
SetSize \
cpPlugins_Instances_BaseObjects_extra_VariableLengthVector_SetSize( double, AlwaysReallocate, KeepOldValues );
cpPlugins_Instances_BaseObjects_extra_VariableLengthVector_SetSize( double, ShrinkToFit, KeepOldValues );
+#endif // cpPlugins_SYS_MACOS
+
// eof - $RCSfile$
SET(pfx "cpPlugins_Instances_")
SET(arg ${pfx} ${prj_VER} ${prj_sVER})
-cpPlugins_WrapInstances(BaseObjects ${arg}) #${ITK_LIBRARIES})
-cpPlugins_WrapInstances(Decorators ${arg}) #${ITK_LIBRARIES})
+IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+ cpPlugins_WrapInstances(BaseObjects ${arg})
+ cpPlugins_WrapInstances(Decorators ${arg})
+ELSE(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+ cpPlugins_WrapInstances(BaseObjects ${arg} ${ITK_LIBRARIES})
+ cpPlugins_WrapInstances(Decorators ${arg} ${ITK_LIBRARIES})
+ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
cpPlugins_WrapInstances(Mesh ${arg} ${pfx}BaseObjects)
cpPlugins_WrapInstances(Transforms ${arg} ${pfx}BaseObjects)
cpPlugins_WrapInstances(ColorPixels ${arg} ${pfx}BaseObjects)
cpPlugins_WrapInstances(ScalarImages ${arg} ${pfx}BaseObjects)
cpPlugins_WrapInstances(ColorImages ${arg} ${pfx}ColorPixels ${pfx}ScalarImages)
cpPlugins_WrapInstances(VectorImages ${arg} ${pfx}ScalarImages)
-cpPlugins_WrapInstances(Paths ${arg} ${pfx}ScalarImages) # ${VTK_LIBRARIES})
+IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+ cpPlugins_WrapInstances(Paths ${arg} ${pfx}ScalarImages)
+ELSE(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+ cpPlugins_WrapInstances(Paths ${arg} ${pfx}ScalarImages ${VTK_LIBRARIES})
+ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
cpPlugins_WrapInstances(NeighborhoodIterators ${arg} ${pfx}ScalarImages)
-cpPlugins_WrapInstances(
- ImageITK2VTK ${arg} ${pfx}ScalarImages ${pfx}ColorImages ${pfx}VectorImages # ${VTK_LIBRARIES}
- )
+IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+ cpPlugins_WrapInstances(
+ ImageITK2VTK ${arg} ${pfx}ScalarImages ${pfx}ColorImages ${pfx}VectorImages
+ )
+ELSE(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+ cpPlugins_WrapInstances(
+ ImageITK2VTK ${arg} ${pfx}ScalarImages ${pfx}ColorImages ${pfx}VectorImages ${VTK_LIBRARIES}
+ )
+ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
cpPlugins_WrapInstances(
ImagesIO ${arg} ${pfx}ScalarImages ${pfx}ColorImages ${pfx}VectorImages ${pfx}Decorators
)