Warning, /EICrecon/src/global/reco/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)
0002
0003 # Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
0004 # Setting default includes, libraries and installation paths
0005 plugin_add(${PLUGIN_NAME} PLUGIN_USE_CC_ONLY)
0006
0007 # The macro grabs sources as *.cc *.cpp *.c and headers as *.h *.hh *.hpp Then
0008 # correctly sets sources for ${_name}_plugin and ${_name}_library targets Adds
0009 # headers to the correct installation directory
0010 plugin_glob_all(${PLUGIN_NAME})
0011
0012 # Find dependencies
0013 plugin_add_dd4hep(${PLUGIN_NAME})
0014 plugin_add_cern_root(${PLUGIN_NAME})
0015 plugin_add_event_model(${PLUGIN_NAME})
0016
0017 # The macro grabs sources as *.cc *.cpp *.c and headers as *.h *.hh *.hpp Then
0018 # correctly sets sources for ${_name}_plugin and ${_name}_library targets Adds
0019 # headers to the correct installation directory
0020 plugin_glob_all(${PLUGIN_NAME})
0021
0022 # Add include directories (works same as target_include_directories)
0023 # plugin_include_directories(${PLUGIN_NAME} SYSTEM PUBLIC ... )
0024
0025 # Add libraries (same as target_include_directories but for both plugin and
0026 # library)
0027 plugin_link_libraries(
0028 ${PLUGIN_NAME} algorithms_digi_library algorithms_tracking_library
0029 algorithms_reco_library algorithms_onnx_library)