Warning, /acts/Plugins/Detray/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 add_library(
0002 ActsPluginDetray
0003 SHARED
0004 src/DetrayConversionUtils.cpp
0005 src/DetrayConverter.cpp
0006 src/DetrayGeometryConverter.cpp
0007 src/DetrayMaterialConverter.cpp
0008 src/DetraySurfaceGridsConverter.cpp
0009 )
0010
0011 add_dependencies(ActsPluginDetray detray::core covfie::core vecmem::core)
0012
0013 target_include_directories(
0014 ActsPluginDetray
0015 PUBLIC
0016 $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/>
0017 $<INSTALL_INTERFACE:include>
0018 )
0019
0020 target_link_libraries(
0021 ActsPluginDetray
0022 PUBLIC
0023 ActsCore
0024 ActsPluginJson
0025 detray::core
0026 detray::core_array
0027 detray::io
0028 detray::detectors
0029 detray::test_utils
0030 vecmem::core
0031 )
0032
0033 install(
0034 TARGETS ActsPluginDetray
0035 EXPORT ActsPluginDetrayTargets
0036 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
0037 )
0038
0039 install(DIRECTORY include/Acts DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})