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 acts_add_library(
0002     PluginDD4hep
0003     src/GeometryModuleHelper.cpp
0004     src/GeometryModuleLoader.cpp
0005     src/ConvertDD4hepDetector.cpp
0006     src/DD4hepBinningHelpers.cpp
0007     src/DD4hepMaterialHelpers.cpp
0008     src/DD4hepDetectorElement.cpp
0009     src/DD4hepDetectorSurfaceFactory.cpp
0010     src/DD4hepLayerBuilder.cpp
0011     src/DD4hepVolumeBuilder.cpp
0012     src/DD4hepFieldAdapter.cpp
0013     src/BlueprintBuilder.cpp
0014     src/OpenDataDetectorBuilder.cpp
0015     src/OpenDataDetectorBuilderTGeo.cpp
0016     ACTS_INCLUDE_FOLDER include/ActsPlugins
0017 )
0018 
0019 set(_acts_dd4hep_geometry_module_abi_tag
0020     "${ACTS_GEOMETRY_MODULE_ABI_TAG}|dd4hep-${DD4hep_VERSION}"
0021 )
0022 
0023 target_include_directories(
0024     ActsPluginDD4hep
0025     PUBLIC
0026         $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
0027         $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
0028 )
0029 
0030 target_link_libraries(ActsPluginDD4hep PUBLIC Acts::PluginRoot)
0031 target_compile_definitions(
0032     ActsPluginDD4hep
0033     PRIVATE
0034         ACTS_DD4HEP_GEOMETRY_MODULE_ABI_TAG="${_acts_dd4hep_geometry_module_abi_tag}"
0035 )
0036 
0037 acts_compile_headers(PluginDD4hep GLOB include/**/*.hpp)
0038 
0039 if(${DD4hep_VERSION} VERSION_LESS 1.11)
0040     target_include_directories(ActsPluginDD4hep PUBLIC ${DD4hep_INCLUDE_DIRS})
0041     target_link_libraries(ActsPluginDD4hep PUBLIC ${DD4hep_DDCORE_LIBRARY})
0042 else()
0043     target_link_libraries(ActsPluginDD4hep PUBLIC DD4hep::DDCore DD4hep::DDRec)
0044 endif()