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/DD4hepBinningHelpers.cpp
0008     src/DD4hepMaterialHelpers.cpp
0009     src/DD4hepDetectorElement.cpp
0010     src/DD4hepDetectorSurfaceFactory.cpp
0011     src/DD4hepLayerBuilder.cpp
0012     src/DD4hepVolumeBuilder.cpp
0013     src/DD4hepFieldAdapter.cpp
0014     ACTS_INCLUDE_FOLDER include/ActsPlugins
0015 )
0016 
0017 target_include_directories(
0018     ActsPluginDD4hep
0019     PUBLIC
0020         $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
0021         $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
0022 )
0023 target_link_libraries(ActsPluginDD4hep PUBLIC Acts::PluginRoot)
0024 
0025 if(${DD4hep_VERSION} VERSION_LESS 1.11)
0026     target_include_directories(ActsPluginDD4hep PUBLIC ${DD4hep_INCLUDE_DIRS})
0027     target_link_libraries(ActsPluginDD4hep PUBLIC ${DD4hep_DDCORE_LIBRARY})
0028 else()
0029     target_link_libraries(ActsPluginDD4hep PUBLIC DD4hep::DDCore DD4hep::DDRec)
0030 endif()