]> Creatis software - clitk.git/blob - registration/CMakeLists.txt
remove debug DD
[clitk.git] / registration / CMakeLists.txt
1 #ADD_LIBRARY(clitkLBGSB STATIC clitkLBGSBOptimizer.cxx)
2 #=========================================================
3
4 INCLUDE(${PROJECT_SOURCE_DIR}/cmake/common.cmake)
5
6 #=========================================================
7
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})
12 ENDFOREACH(clitkTool)
13 ADD_LIBRARY(clitkRegistrationGgoLib ${GGO_C_FILES} clitkAffineRegistrationGenericFilter.cxx clitkLBFGSBOptimizer.cxx clitkGenericAffineTransform.cxx)
14
15 #=========================================================
16
17 IF(CLITK_BUILD_REGISTRATION)
18     ############################## registration algorithms
19     ADD_EXECUTABLE(clitkAffineRegistration clitkAffineRegistration.cxx)
20     TARGET_LINK_LIBRARIES(clitkAffineRegistration  clitkRegistrationGgoLib clitkCommon ITKIO ITKNumerics ITKStatistics)
21
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)
25
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)
29
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)
33
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)
37
38
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 )
43
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)
47
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)
51
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 )
55
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)
59
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)
63
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)
67
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)
71
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)
76