From 9321d6d03a4824b729f1c4a683acd6e7411dd685 Mon Sep 17 00:00:00 2001 From: vhinger Date: Thu, 6 Mar 2025 20:32:45 +0100 Subject: [PATCH] add SC to CMake --- .../jungfrauExecutables/CMakeLists.txt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/slsDetectorCalibration/jungfrauExecutables/CMakeLists.txt b/slsDetectorCalibration/jungfrauExecutables/CMakeLists.txt index a79a38017..588dd0779 100644 --- a/slsDetectorCalibration/jungfrauExecutables/CMakeLists.txt +++ b/slsDetectorCalibration/jungfrauExecutables/CMakeLists.txt @@ -78,6 +78,12 @@ if (SLS_USE_HDF5) list(APPEND JUNGFRAU_EXECUTABLES jungfrauRawDataProcessStrxQuadH5) target_include_directories(jungfrauRawDataProcessStrxQuadH5 PRIVATE ${HDF5_INCLUDE_DIRS} ${CMAKE_INSTALL_PREFIX}/include) target_link_libraries(jungfrauRawDataProcessStrxQuadH5 PRIVATE ${HDF5_LIBRARIES}) + + add_executable(jungfrauRawDataProcessStrxQuadH5SC jungfrauRawDataProcess_filetxtH5_SC.cpp) + #target_compile_definitions(jungfrauRawDataProcessStrxQuadH5 PRIVATE JFSTRXQH5) + list(APPEND JUNGFRAU_EXECUTABLES jungfrauRawDataProcessStrxQuadH5SC) + target_include_directories(jungfrauRawDataProcessStrxQuadH5SC PRIVATE ${HDF5_INCLUDE_DIRS} ${CMAKE_INSTALL_PREFIX}/include) + target_link_libraries(jungfrauRawDataProcessStrxQuadH5SC PRIVATE ${HDF5_LIBRARIES}) endif () endif (SLS_USE_HDF5) @@ -126,7 +132,13 @@ if (SLS_USE_HDF5) ${HDF5_INCLUDE_DIRS} ${CMAKE_INSTALL_PREFIX}/include ) - target_link_libraries(jungfrauRawDataProcessStrxQuadH5 PRIVATE ${HDF5_LIBRARIES}) + target_link_libraries(jungfrauRawDataProcessStrxQuadH5 PRIVATE ${HDF5_LIBRARIES}) + + target_include_directories(jungfrauRawDataProcessStrxQuadH5SC PRIVATE + ${HDF5_INCLUDE_DIRS} + ${CMAKE_INSTALL_PREFIX}/include + ) + target_link_libraries(jungfrauRawDataProcessStrxQuadH5SC PRIVATE ${HDF5_LIBRARIES}) endif () endif (SLS_USE_HDF5)