Back to home page

EIC code displayed by LXR

 
 

    


Warning, /acts/Plugins/DD4hep/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 include(FetchContent)
0002 
0003 acts_add_library(
0004     PluginDD4hep
0005     SHARED
0006     src/ConvertDD4hepDetector.cpp
0007     src/DD4hepBlueprintFactory.cpp
0008     src/DD4hepBinningHelpers.cpp
0009     src/DD4hepDetectorStructure.cpp
0010     src/DD4hepMaterialHelpers.cpp
0011     src/DD4hepDetectorElement.cpp
0012     src/DD4hepDetectorSurfaceFactory.cpp
0013     src/DD4hepLayerBuilder.cpp
0014     src/DD4hepLayerStructure.cpp
0015     src/DD4hepVolumeBuilder.cpp
0016     src/DD4hepFieldAdapter.cpp
0017     ACTS_INCLUDE_FOLDER include/Acts
0018 )
0019 
0020 target_include_directories(
0021     ActsPluginDD4hep
0022     PUBLIC
0023         $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
0024         $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
0025 )
0026 target_link_libraries(ActsPluginDD4hep PUBLIC Acts::PluginRoot)
0027 
0028 if(${DD4hep_VERSION} VERSION_LESS 1.11)
0029     target_include_directories(ActsPluginDD4hep PUBLIC ${DD4hep_INCLUDE_DIRS})
0030     target_link_libraries(ActsPluginDD4hep PUBLIC ${DD4hep_DDCORE_LIBRARY})
0031 else()
0032     target_link_libraries(ActsPluginDD4hep PUBLIC DD4hep::DDCore DD4hep::DDRec)
0033 endif()