16 NeighborhoodImageIterators
26 ITKDifferenceImageFilters
27 ITKAnisotropicSmoothing
29 ITKImageFeatureFilters
30 PolyLineParametricPath
35 ## =======================
36 ## == Compile instances ==
37 ## =======================
40 FOREACH(_d ${_definitions})
41 FILE(GLOB _files ${CMAKE_CURRENT_SOURCE_DIR}/${_d}.*)
42 CreateLib(cpInstances${_d} SHARED ${_files})
43 TARGET_LINK_LIBRARIES(
45 ${ITK_LIBRARIES} ${VTK_LIBRARIES}
47 LIST(APPEND _all_libs cpInstances${_d})
50 ## =====================
51 ## == Further linking ==
52 ## =====================
55 TARGET_LINK_LIBRARIES(${_pfx}BoundingBox ${_pfx}BaseObjects cpPlugins)
56 TARGET_LINK_LIBRARIES(${_pfx}Transforms ${_pfx}BaseObjects)
57 TARGET_LINK_LIBRARIES(${_pfx}Mesh ${_pfx}BoundingBox)
58 TARGET_LINK_LIBRARIES(${_pfx}ScalarImages ${_pfx}BaseObjects)
59 TARGET_LINK_LIBRARIES(${_pfx}ComplexImages ${_pfx}ScalarImages)
60 TARGET_LINK_LIBRARIES(${_pfx}ColorImages ${_pfx}ScalarImages)
61 TARGET_LINK_LIBRARIES(${_pfx}VectorImages ${_pfx}ScalarImages)
62 TARGET_LINK_LIBRARIES(${_pfx}MatrixImages ${_pfx}ScalarImages)
63 TARGET_LINK_LIBRARIES(
72 TARGET_LINK_LIBRARIES(${_pfx}ImageIterators ${_pfx}Image)
73 TARGET_LINK_LIBRARIES(${_pfx}ImageInterpolators ${_pfx}Image)
74 TARGET_LINK_LIBRARIES(${_pfx}NeighborhoodImageIterators ${_pfx}Image)
75 TARGET_LINK_LIBRARIES(${_pfx}BaseImageFilters ${_pfx}ImageIterators)
76 TARGET_LINK_LIBRARIES(
77 ${_pfx}ComplexImageFilters
79 ${_pfx}NeighborhoodImageIterators
81 TARGET_LINK_LIBRARIES(
88 ${_pfx}BaseImageFilters
90 TARGET_LINK_LIBRARIES(
91 ${_pfx}UnaryFunctorFilters
94 ${_pfx}BaseImageFilters
96 TARGET_LINK_LIBRARIES(
97 ${_pfx}BinaryFunctorFilters
100 ${_pfx}BaseImageFilters
102 TARGET_LINK_LIBRARIES(
103 ${_pfx}DistanceMapFilters
104 ${_pfx}UnaryFunctorFilters
106 ${_pfx}ImageIterators
107 ${_pfx}NeighborhoodImageIterators
108 ${_pfx}BaseImageFilters
110 TARGET_LINK_LIBRARIES(
111 ${_pfx}PolyLineParametricPath
115 TARGET_LINK_LIBRARIES(
120 TARGET_LINK_LIBRARIES(
122 ${_pfx}PolyLineParametricPath
124 TARGET_LINK_LIBRARIES(
125 ${_pfx}ImageSliceFilters
127 ${_pfx}ImageIterators
128 ${_pfx}NeighborhoodImageIterators
129 ${_pfx}ImageInterpolators
130 ${_pfx}BaseImageFilters
131 ${_pfx}ComplexImageFilters
132 ${_pfx}ExtractImageFilters
136 TARGET_LINK_LIBRARIES(
137 ${_pfx}ImageSeparableFilters
139 ${_pfx}BaseImageFilters
140 ${_pfx}UnaryFunctorFilters
142 TARGET_LINK_LIBRARIES(
143 ${_pfx}ExtractImageFilters
145 ${_pfx}BaseImageFilters
146 ${_pfx}ComplexImageFilters
148 TARGET_LINK_LIBRARIES(
149 ${_pfx}ITKImageFeatureFilters
151 ${_pfx}BaseImageFilters
152 ${_pfx}ComplexImageFilters
153 ${_pfx}NeighborhoodImageIterators
155 TARGET_LINK_LIBRARIES(
156 ${_pfx}ITKDifferenceImageFilters
158 ${_pfx}BaseImageFilters
159 ${_pfx}ComplexImageFilters
161 TARGET_LINK_LIBRARIES(
162 ${_pfx}ITKAnisotropicSmoothing
163 ${_pfx}ITKDifferenceImageFilters
165 TARGET_LINK_LIBRARIES(
166 ${_pfx}ITKLevelSetFilters
167 ${_pfx}ITKAnisotropicSmoothing
168 ${_pfx}UnaryFunctorFilters
170 ${_pfx}ImageIterators
171 ${_pfx}NeighborhoodImageIterators
172 ${_pfx}BaseImageFilters
173 ${_pfx}ImageInterpolators
174 ${_pfx}ExtractImageFilters
175 ${_pfx}ITKImageFeatureFilters
178 ## ===================================================
179 ## == Keep track of all created instances libraries ==
180 ## ===================================================
183 cpPlugins_AllInstances ${_all_libs}
184 CACHE INTERNAL "All valid instances." FORCE