32 lines
714 B
CMake
32 lines
714 B
CMake
SET(LIB_NAME autoreg)
|
|
#SET(CMAKE_CXX_FLAGS "-std=c++11 -fPIC")
|
|
|
|
find_package(ITK REQUIRED)
|
|
include(${ITK_USE_FILE})
|
|
INCLUDE_DIRECTORIES(${ITK_INCLUDE_DIRS})
|
|
|
|
|
|
SET(HDR
|
|
itkDRTHelpers.h
|
|
itkgTwoImageToOneImageMetric.h
|
|
itkgTwoImageToOneImageMetric.hxx
|
|
itkMutualInformationTwoImageToOneImageMetric.h
|
|
itkMutualInformationTwoImageToOneImageMetric.hxx
|
|
itkNormalizedCorrelationTwoImageToOneImageMetric.h
|
|
itkNormalizedCorrelationTwoImageToOneImageMetric.hxx
|
|
itkTwoProjectionImageRegistrationMethod.h
|
|
itkTwoProjectionImageRegistrationMethod.hxx
|
|
)
|
|
|
|
ADD_LIBRARY(${LIB_NAME} ${HDR})
|
|
|
|
target_link_libraries(
|
|
${LIB_NAME}
|
|
${ITK_LIBRARIES}
|
|
)
|
|
|
|
target_include_directories (${LIB_NAME}
|
|
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
|