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 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_dd4hep(${PLUGIN_NAME})
0019 plugin_add_acts(${PLUGIN_NAME})
0020 plugin_add_event_model(${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} podio::podio podio::podioRootIO
0033                       algorithms_digi_library algorithms_tracking_library)
0034 
0035 #
0036 # Add include directories (works same as target_include_directories)
0037 # plugin_include_directories(${PLUGIN_NAME} PUBLIC ${CMAKE_CURRENT_LIST_DIR}
0038 # SYSTEM PUBLIC ${podio_INCLUDE_DIR} ${EDM4HEP_INCLUDE_DIR}
0039 # ${DD4hep_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${EDM4EIC_INCLUDE_DIRS})
0040 #
0041 # Add libraries (works same as target_include_directories)
0042 # plugin_link_libraries(${PLUGIN_NAME} EDM4HEP::edm4hep  EDM4EIC::edm4eic
0043 # ActsCore ActsPluginDD4hep ActsPluginJson ActsPluginTGeo spdlog::spdlog
0044 # algorithms_tracking_library)
0045 #
0046 # target_link_libraries(${PLUGIN_NAME}_plugin EDM4HEP::edm4hep  EDM4EIC::edm4eic
0047 # ActsCore ActsPluginDD4hep ActsPluginJson ActsPluginTGeo spdlog::spdlog
0048 # algorithms_tracking_library)
0049 #
0050 # get_target_property(ACTSPLUGINLIBS ${PLUGIN_NAME}_plugin LINK_LIBRARIES)
0051 # message(STATUS "LINK_LIBRARIES = ${ACTSPLUGINLIBS}")
0052 #
0053 # LINK_LIBRARIES =
0054 # JANA::jana2;spdlog::spdlog;EDM4HEP::edm4hep;;EDM4EIC::edm4eic;ActsCore;ActsPluginDD4hep;ActsPluginJson;ActsPluginTGeo;spdlog::spdlog;algorithms_tracking_library
0055 # LINK_LIBRARIES =
0056 # JANA::jana2;spdlog::spdlog;EDM4HEP::edm4hep;;EDM4EIC::edm4eic;ActsCore;ActsPluginDD4hep;ActsPluginJson;ActsPluginTGeo;spdlog::spdlog;algorithms_tracking_library;
0057 # EDM4HEP::edm4hep;;EDM4EIC::edm4eic;ActsCore;ActsPluginDD4hep;ActsPluginJson;ActsPluginTGeo;spdlog::spdlog;algorithms_tracking_library
0058 # target_link_libraries(${PLUGIN_NAME}_plugin Eigen3::Eigen EDM4HEP::edm4hep
0059 #
0060 # EDM4EIC::edm4eic ActsCore ActsPluginDD4hep ActsPluginJson ActsPluginTGeo
0061 # spdlog::spdlog algorithms_tracking_library)