Back to home page

EIC code displayed by LXR

 
 

    


Warning, /EICrecon/src/services/geometry/acts/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # Automatically set plugin name the same as the directory name Don't forget
0002 # string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in
0003 # its name
0004 get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)
0005 
0006 # Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
0007 # Setting default includes, libraries and installation paths
0008 plugin_add(${PLUGIN_NAME})
0009 
0010 # The macro grabs sources as *.cc *.cpp *.c and headers as *.h *.hh *.hpp Then
0011 # correctly sets sources for ${_name}_plugin and ${_name}_library targets Adds
0012 # headers to the correct installation directory
0013 plugin_glob_all(${PLUGIN_NAME})
0014 
0015 # Find dependencies
0016 plugin_add_dd4hep(${PLUGIN_NAME})
0017 plugin_add_acts(${PLUGIN_NAME})
0018 plugin_add_event_model(${PLUGIN_NAME})
0019 
0020 # The macro grabs sources as *.cc *.cpp *.c and headers as *.h *.hh *.hpp Then
0021 # correctly sets sources for ${_name}_plugin and ${_name}_library targets Adds
0022 # headers to the correct installation directory
0023 plugin_glob_all(${PLUGIN_NAME})
0024 
0025 # Add include directories (works same as target_include_directories)
0026 # plugin_include_directories(${PLUGIN_NAME} SYSTEM PUBLIC ... )
0027 
0028 # Add libraries (same as target_include_directories but for both plugin and
0029 # library)
0030 plugin_link_libraries(
0031   ${PLUGIN_NAME} podio::podio podio::podioIO algorithms_digi_library
0032   algorithms_tracking_library dd4hep_library)