SET(cpExtensions_LIBRARY cpExtensions)
SET(cpPlugins_tinyxml2_LIBRARY cpPlugins_tinyxml2)
+SET(cpPlugins_ALL_INSTANCES_LIBRARIES "@cpPlugins_ALL_INSTANCES@")
SET(cpPlugins_LIBRARY cpPlugins)
SET(cpPipelineEditor_LIBRARY cpPipelineEditor)
SET(
target_LIBRARIES
- cpPlugins_Base
- cpPlugins_DistanceMapFilters
- cpPlugins_GaussianImageFilters
- cpPlugins_ImageFiltersBase
- cpPlugins_ImageIO
- cpPlugins_ImageIterators
- cpPlugins_ImageITK2VTK
- cpPlugins_Image
- cpPlugins_InPlaceImageFiltersBase
- cpPlugins_Mesh
- cpPlugins_ResamplingFilters
- cpPlugins_ThresholdFilters
+ ${cpPlugins_ALL_INSTANCES}
cpPlugins_tinyxml2
- cpPlugins_Transforms
)
IF(NOT WIN32)
SET(
cpPlugins_Base_extra_Array_AllScalars_AllDims( itk::Point );
cpPlugins_Base_extra_Array_AllScalars_AllDims( itk::Vector );
-#define cpPlugins_Base_extra_VariableLengthVector_SetSize( T, P ) \
- template cpPlugins_Base_EXPORT void itk::VariableLengthVector< T >:: \
- SetSize< itk::VariableLengthVector< T >::P, \
- itk::VariableLengthVector< T >::KeepOldValues >( \
- unsigned int, itk::VariableLengthVector< T >::P, \
- itk::VariableLengthVector< float >::KeepOldValues \
- )
-
-cpPlugins_Base_extra_VariableLengthVector_SetSize( float, AlwaysReallocate );
-cpPlugins_Base_extra_VariableLengthVector_SetSize( float, ShrinkToFit );
+// -------------------------------------------------------------------------
+#define cpPlugins_Base_extra_VariableLengthVector_SetSize( T, P, Q ) \
+ template cpPlugins_Base_EXPORT void itk::VariableLengthVector< T >:: \
+ SetSize \
+ < itk::VariableLengthVector< T >::P, itk::VariableLengthVector< T >::Q > \
+ ( \
+ unsigned int, \
+ itk::VariableLengthVector< T >::P, \
+ itk::VariableLengthVector< T >::Q \
+ )
+
+cpPlugins_Base_extra_VariableLengthVector_SetSize( float, AlwaysReallocate, KeepOldValues );
+cpPlugins_Base_extra_VariableLengthVector_SetSize( float, ShrinkToFit, KeepOldValues );
// eof - $RCSfile$
"${CMAKE_CURRENT_SOURCE_DIR}/*.i"
)
+SET(aux_ALL_INSTANCES)
FOREACH(i ${libs_DEFS})
GET_FILENAME_COMPONENT(l_DEF ${i} NAME_WE)
SET(i_FILE "${CMAKE_CURRENT_SOURCE_DIR}/${l_DEF}.i")
SET(s_FILE "${CMAKE_CURRENT_BINARY_DIR}/${l_DEF}.cxx")
SET(o_FILE "${CMAKE_CURRENT_SOURCE_DIR}/${l_DEF}_extra.cxx")
SET(l_NAME "cpPlugins_${l_DEF}")
+ SET(aux_ALL_INSTANCES ${aux_ALL_INSTANCES} ${l_NAME})
ADD_CUSTOM_COMMAND(
OUTPUT ${h_FILE} ${s_FILE}
DEPENDS cpPlugins_CreateInstances ${i_FILE}
)
ENDFOREACH(i)
+SET(
+ cpPlugins_ALL_INSTANCES
+ ${aux_ALL_INSTANCES}
+ CACHE STRING "All instances libraries."
+ )
+
## Target links
TARGET_LINK_LIBRARIES(cpPlugins_Base ${ITK_LIBRARIES})
TARGET_LINK_LIBRARIES(cpPlugins_Transforms ${ITK_LIBRARIES} cpPlugins_Base)