Back to home page

EIC code displayed by LXR

 
 

    


Warning, /EICrecon/src/tests/algorithms_test/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # Automatically set plugin name the same as the directory name
0002 get_filename_component(TEST_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)
0003 
0004 # These tests can use the Catch2-provided main
0005 add_executable(
0006   ${TEST_NAME}
0007   algorithmsInit.cc
0008   calorimetry_CalorimeterIslandCluster.cc
0009   calorimetry_ImagingTopoCluster.cc
0010   tracking_SiliconSimpleCluster.cc
0011   calorimetry_CalorimeterHitDigi.cc
0012   calorimetry_CalorimeterClusterRecoCoG.cc
0013   calorimetry_HEXPLIT.cc
0014   pid_MergeTracks.cc
0015   pid_MergeParticleID.cc
0016   pid_lut_PIDLookup.cc
0017   reco_FarForwardNeutronReconstruction.cc)
0018 
0019 # Explicit linking to podio::podio is needed due to
0020 # https://github.com/JeffersonLab/JANA2/issues/151
0021 target_link_libraries(
0022   ${TEST_NAME}
0023   PRIVATE Catch2::Catch2WithMain
0024           algorithms_calorimetry_library
0025           algorithms_fardetectors_library
0026           algorithms_interfaces_library # for ParticleSvc
0027           algorithms_pid_library
0028           algorithms_pid_lut_library
0029           algorithms_reco_library
0030           evaluator_library
0031           pid_lut_library
0032           podio::podio
0033           podio::podioRootIO)
0034 
0035 # Install executable
0036 install(TARGETS ${TEST_NAME} DESTINATION bin)
0037 
0038 add_test(NAME t_${TEST_NAME} COMMAND env LLVM_PROFILE_FILE=${TEST_NAME}.profraw
0039                                      $<TARGET_FILE:${TEST_NAME}>)