Warning, /EICrecon/src/services/algorithms_init/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 cmake_minimum_required(VERSION 3.16)
0002
0003 # Automatically set plugin name the same as the directory name Don't forget
0004 # string(REPLACE " " "_" PLUGIN_NAME ${PLUGIN_NAME}) if this dir has spaces in
0005 # its name
0006 get_filename_component(PLUGIN_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)
0007
0008 # Function creates ${PLUGIN_NAME}_plugin and ${PLUGIN_NAME}_library targets
0009 # Setting default includes, libraries and installation paths
0010 plugin_add(${PLUGIN_NAME})
0011
0012 # The macro grabs sources as *.cc *.cpp *.c and headers as *.h *.hh *.hpp Then
0013 # correctly sets sources for ${_name}_plugin and ${_name}_library targets Adds
0014 # headers to the correct installation directory
0015 plugin_glob_all(${PLUGIN_NAME})
0016
0017 # Find dependencies
0018 plugin_add_algorithms(${PLUGIN_NAME})
0019 plugin_add_dd4hep(${PLUGIN_NAME})
0020 plugin_add_event_model(${PLUGIN_NAME})
0021 plugin_link_libraries(${PLUGIN_NAME} algorithms_interfaces_library)