Back to home page

EIC code displayed by LXR

 
 

    


Warning, /EICrecon/src/algorithms/tracking/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_tracking")
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_acts(${PLUGIN_NAME})
0017 plugin_add_cern_root(${PLUGIN_NAME})
0018 plugin_add_eigen3(${PLUGIN_NAME})
0019 plugin_add_event_model(${PLUGIN_NAME})
0020 
0021 # The macro grabs sources as *.cc *.cpp *.c and headers as *.h *.hh *.hpp Then
0022 # correctly sets sources for ${_name}_plugin and ${_name}_library targets Adds
0023 # headers to the correct installation directory
0024 plugin_glob_all(${PLUGIN_NAME})
0025 
0026 plugin_include_directories(${PLUGIN_NAME} PUBLIC
0027                            $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>)
0028 
0029 # Add libraries (same as target_include_directories but for both plugin and
0030 # library)
0031 plugin_link_libraries(${PLUGIN_NAME} Eigen3::Eigen)