1 #ADD_LIBRARY(clitkLBGSB STATIC clitkLBGSBOptimizer.cxx)
2 #=========================================================
4 INCLUDE(${PROJECT_SOURCE_DIR}/cmake/common.cmake)
6 #=========================================================
8 #Add your ggo files to this list if they are used by vv
9 FOREACH(clitkTool clitkAffineRegistration)
10 WRAP_GGO(${clitkTool}_GGO_C ${clitkTool}.ggo)
11 SET(GGO_C_FILES ${GGO_C_FILES} ${${clitkTool}_GGO_C})
13 ADD_LIBRARY(clitkRegistrationGgoLib ${GGO_C_FILES} clitkAffineRegistrationGenericFilter.cxx clitkLBFGSBOptimizer.cxx clitkGenericAffineTransform.cxx)
15 #=========================================================
17 IF(CLITK_BUILD_REGISTRATION)
18 ############################## registration algorithms
19 ADD_EXECUTABLE(clitkAffineRegistration clitkAffineRegistration.cxx)
20 TARGET_LINK_LIBRARIES(clitkAffineRegistration clitkRegistrationGgoLib clitkCommon ITKIO ITKNumerics ITKStatistics)
22 WRAP_GGO(clitkDemonsDeformableRegistration_GGO_C clitkDemonsDeformableRegistration.ggo)
23 ADD_EXECUTABLE(clitkDemonsDeformableRegistration clitkDemonsDeformableRegistration.cxx ${clitkDemonsDeformableRegistration_GGO_C} clitkDemonsDeformableRegistrationGenericFilter.cxx)
24 TARGET_LINK_LIBRARIES(clitkDemonsDeformableRegistration ITKNumerics ITKIO clitkCommon)
26 WRAP_GGO(clitkBLUTDIR_GGO_C clitkBLUTDIR.ggo)
27 ADD_EXECUTABLE(clitkBLUTDIR clitkBLUTDIR.cxx clitkBLUTDIRGenericFilter.cxx ${clitkBLUTDIR_GGO_C} clitkLBFGSBOptimizer.cxx )
28 TARGET_LINK_LIBRARIES(clitkBLUTDIR clitkCommon ITKIO ITKNumerics ITKStatistics)
30 WRAP_GGO(clitkShapedBLUTSpatioTemporalDIR_GGO_C clitkShapedBLUTSpatioTemporalDIR.ggo)
31 ADD_EXECUTABLE(clitkShapedBLUTSpatioTemporalDIR clitkShapedBLUTSpatioTemporalDIR.cxx clitkShapedBLUTSpatioTemporalDIRGenericFilter.cxx ${clitkShapedBLUTSpatioTemporalDIR_GGO_C} clitkLBFGSBOptimizer.cxx)
32 TARGET_LINK_LIBRARIES(clitkShapedBLUTSpatioTemporalDIR clitkCommon ITKNumerics ITKStatistics ITKIO)
34 WRAP_GGO(clitkBSplineDeformableRegistration_GGO_C clitkBSplineDeformableRegistration.ggo)
35 ADD_EXECUTABLE(clitkBSplineDeformableRegistration clitkBSplineDeformableRegistration.cxx clitkBSplineDeformableRegistrationGenericFilter.cxx ${clitkBSplineDeformableRegistration_GGO_C} clitkLBFGSBOptimizer.cxx)
36 TARGET_LINK_LIBRARIES(clitkBSplineDeformableRegistration clitkCommon ITKNumerics ITKStatistics ITKIO)
39 ############################## registration-related tools to process points, bsplines, vf and image pyramids
40 WRAP_GGO(clitkConvertPointList_GGO_C clitkConvertPointList.ggo)
41 ADD_EXECUTABLE(clitkConvertPointList clitkConvertPointList.cxx ${clitkConvertPointList_GGO_C})
42 TARGET_LINK_LIBRARIES(clitkConvertPointList ITKIO clitkCommon )
44 WRAP_GGO(clitkSelectPoints_GGO_C clitkSelectPoints.ggo)
45 ADD_EXECUTABLE(clitkSelectPoints clitkSelectPoints.cxx clitkSelectPointsGenericFilter.cxx ${clitkSelectPoints_GGO_C})
46 TARGET_LINK_LIBRARIES(clitkSelectPoints clitkCommon ITKIO)
48 WRAP_GGO(clitkPointTrajectory_GGO_C clitkPointTrajectory.ggo)
49 ADD_EXECUTABLE(clitkPointTrajectory clitkPointTrajectory.cxx clitkPointTrajectoryGenericFilter.cxx ${clitkPointTrajectory_GGO_C})
50 TARGET_LINK_LIBRARIES(clitkPointTrajectory clitkCommon ITKIO)
52 WRAP_GGO(clitkCalculateTRE_GGO_C clitkCalculateTRE.ggo)
53 ADD_EXECUTABLE(clitkCalculateTRE clitkCalculateTRE.cxx clitkCalculateTREGenericFilter.cxx ${clitkCalculateTRE_GGO_C})
54 TARGET_LINK_LIBRARIES(clitkCalculateTRE clitkCommon ITKIO )
56 WRAP_GGO(clitkMatrixTransformToVF_GGO_C clitkMatrixTransformToVF.ggo)
57 ADD_EXECUTABLE(clitkMatrixTransformToVF clitkMatrixTransformToVF.cxx clitkMatrixTransformToVFGenericFilter.cxx ${clitkMatrixTransformToVF_GGO_C})
58 TARGET_LINK_LIBRARIES(clitkMatrixTransformToVF ITKIO clitkCommon)
60 WRAP_GGO(clitkConvertBSplineDeformableTransformToVF_GGO_C clitkConvertBSplineDeformableTransformToVF.ggo)
61 ADD_EXECUTABLE(clitkConvertBSplineDeformableTransformToVF clitkConvertBSplineDeformableTransformToVF.cxx clitkConvertBSplineDeformableTransformToVFGenericFilter.cxx ${clitkConvertBSplineDeformableTransformToVF_GGO_C})
62 TARGET_LINK_LIBRARIES(clitkConvertBSplineDeformableTransformToVF clitkCommon ITKIO)
64 WRAP_GGO(clitkMultiResolutionPyramid_GGO_C clitkMultiResolutionPyramid.ggo)
65 ADD_EXECUTABLE(clitkMultiResolutionPyramid clitkMultiResolutionPyramid.cxx clitkMultiResolutionPyramidGenericFilter.cxx ${clitkMultiResolutionPyramid_GGO_C})
66 TARGET_LINK_LIBRARIES(clitkMultiResolutionPyramid clitkCommon ITKIO)
68 WRAP_GGO(clitkBSplinePyramid_GGO_C clitkBSplinePyramid.ggo)
69 ADD_EXECUTABLE(clitkBSplinePyramid clitkBSplinePyramid.cxx clitkBSplinePyramidGenericFilter.cxx ${clitkBSplinePyramid_GGO_C})
70 TARGET_LINK_LIBRARIES(clitkBSplinePyramid clitkCommon ITKIO)
72 WRAP_GGO(clitkResampleBSplineDeformableTransform_GGO_C clitkResampleBSplineDeformableTransform.ggo)
73 ADD_EXECUTABLE(clitkResampleBSplineDeformableTransform clitkResampleBSplineDeformableTransform.cxx clitkResampleBSplineDeformableTransformGenericFilter.cxx ${clitkResampleBSplineDeformableTransform_GGO_C})
74 TARGET_LINK_LIBRARIES(clitkResampleBSplineDeformableTransform clitkCommon ITKIO)
75 ENDIF(CLITK_BUILD_REGISTRATION)