Warning, /acts/Examples/Detectors/TelescopeDetector/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 add_library(
0002 ActsExamplesDetectorTelescope
0003 SHARED
0004 src/TelescopeDetector.cpp
0005 src/TelescopeDetectorElement.cpp
0006 src/BuildTelescopeDetector.cpp
0007 )
0008
0009 target_include_directories(
0010 ActsExamplesDetectorTelescope
0011 PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
0012 )
0013
0014 target_link_libraries(
0015 ActsExamplesDetectorTelescope
0016 PUBLIC ActsCore ActsExamplesFramework ActsExamplesDetectorsCommon
0017 )
0018
0019 if(ACTS_BUILD_EXAMPLES_GEANT4)
0020 target_link_libraries(
0021 ActsExamplesDetectorTelescope
0022 PUBLIC ActsExamplesGeant4
0023 )
0024
0025 target_sources(
0026 ActsExamplesDetectorTelescope
0027 PUBLIC
0028 src/TelescopeDetectorGeant4.cpp
0029 src/TelescopeG4DetectorConstruction.cpp
0030 )
0031 else()
0032 target_sources(
0033 ActsExamplesDetectorTelescope
0034 PUBLIC src/TelescopeDetectorGeant4Stub.cpp
0035 )
0036 endif()
0037
0038 install(
0039 TARGETS ActsExamplesDetectorTelescope
0040 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
0041 )