# This is the root ITK CMakeLists file.
CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
IF(COMMAND CMAKE_POLICY)
  CMAKE_POLICY(SET CMP0003 NEW)
ENDIF(COMMAND CMAKE_POLICY)


# This project is designed to be built outside the Insight source tree.
PROJECT(ImageRegistration)

# Find ITK.
FIND_PACKAGE(ITK REQUIRED)
INCLUDE(${ITK_USE_FILE})

ADD_EXECUTABLE(AffineRegistration AffineRegistration.cxx)
TARGET_LINK_LIBRARIES(AffineRegistration ITKIO ITKNumerics)

ADD_EXECUTABLE(DeformableRegistration DeformableRegistration.cxx )
TARGET_LINK_LIBRARIES(DeformableRegistration ITKStatistics ITKIO ITKNumerics)

ADD_EXECUTABLE(ApplyAffineTransform ApplyAffineTransform.cxx )
TARGET_LINK_LIBRARIES(ApplyAffineTransform ITKIO ITKNumerics)

ADD_EXECUTABLE(ApplyDeformableTransform ApplyDeformableTransform.cxx )
TARGET_LINK_LIBRARIES(ApplyDeformableTransform ITKIO ITKNumerics)

ADD_EXECUTABLE(NormalizeAndAverageFiles NormalizeAndAverageFiles.cxx )
TARGET_LINK_LIBRARIES(NormalizeAndAverageFiles ITKIO ITKNumerics)

