Files
Jungfraujoch/image_analysis/CMakeLists.txt
2024-03-31 23:08:19 +02:00

37 lines
1.5 KiB
CMake

ADD_LIBRARY(JFJochImageAnalysis STATIC
CrystalLattice.cpp CrystalLattice.h
IndexerWrapper.cpp IndexerWrapper.h
AzimuthalIntegrationMapping.cpp AzimuthalIntegrationMapping.h
StrongPixelSet.cpp StrongPixelSet.h AzimuthalIntegrationProfile.cpp AzimuthalIntegrationProfile.h
SpotFindingSettings.h
AzimuthalIntegration.cpp
AzimuthalIntegration.h
CPUSpotFinder.cpp
CPUSpotFinder.h
MXAnalyzer.cpp
MXAnalyzer.h)
TARGET_LINK_LIBRARIES(JFJochImageAnalysis JFJochCommon)
TARGET_INCLUDE_DIRECTORIES(JFJochImageAnalysis PUBLIC fast-feedback-indexer/eigen)
IF (CMAKE_CUDA_COMPILER)
TARGET_SOURCES(JFJochImageAnalysis PRIVATE
fast-feedback-indexer/indexer/src/indexer.cpp
fast-feedback-indexer/indexer/src/indexer_gpu.cu
fast-feedback-indexer/indexer/src/log.cpp)
TARGET_SOURCES(JFJochImageAnalysis PUBLIC
fast-feedback-indexer/indexer/src/ffbidx/indexer.h
fast-feedback-indexer/indexer/src/ffbidx/indexer_gpu.h
fast-feedback-indexer/indexer/src/ffbidx/refine.h
fast-feedback-indexer/indexer/src/ffbidx/log.h
fast-feedback-indexer/indexer/src/ffbidx/exception.h)
TARGET_INCLUDE_DIRECTORIES(JFJochImageAnalysis PUBLIC fast-feedback-indexer/indexer/src/)
TARGET_LINK_LIBRARIES(JFJochImageAnalysis ${CUDART_LIBRARY} ${CMAKE_DL_LIBS} rt)
ELSE()
MESSAGE(WARNING "CUDA is strongly recommended for image analysis." )
ENDIF()