Back to home page

EIC code displayed by LXR

 
 

    


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

0001 cmake_minimum_required(VERSION 3.16)
0002 
0003 set(PLUGIN_NAME "algorithms_reco")
0004 
0005 # Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
0006 # Setting default includes, libraries and installation paths
0007 plugin_add(${PLUGIN_NAME} WITH_SHARED_LIBRARY WITHOUT_PLUGIN)
0008 
0009 # The macro grabs sources as *.cc *.cpp *.c and headers as *.h *.hh *.hpp Then
0010 # correctly sets sources for ${_name}_plugin and ${_name}_library targets Adds
0011 # headers to the correct installation directory
0012 plugin_glob_all(${PLUGIN_NAME})
0013 
0014 # Find dependencies
0015 plugin_add_dd4hep(${PLUGIN_NAME})
0016 plugin_add_cern_root(${PLUGIN_NAME})
0017 plugin_add_event_model(${PLUGIN_NAME})
0018 plugin_add_fastjet(${PLUGIN_NAME})
0019 plugin_add_fastjetcontrib(${PLUGIN_NAME})
0020 plugin_add_fastjettools(${PLUGIN_NAME})
0021 
0022 # The macro grabs sources as *.cc *.cpp *.c and headers as *.h *.hh *.hpp Then
0023 # correctly sets sources for ${_name}_plugin and ${_name}_library targets Adds
0024 # headers to the correct installation directory
0025 plugin_glob_all(${PLUGIN_NAME})
0026 
0027 # Add include directories (works same as target_include_directories)
0028 # plugin_include_directories(${PLUGIN_NAME} SYSTEM PUBLIC ... )
0029 
0030 # Add libraries (same as target_include_directories but for both plugin and
0031 # library)
0032 plugin_link_libraries(${PLUGIN_NAME} algorithms_digi_library
0033                       algorithms_tracking_library)