Warning, /acts/Examples/Algorithms/Geant4/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 add_library(
0002 ActsExamplesGeant4
0003 SHARED
0004 src/Geant4Simulation.cpp
0005 src/MagneticFieldWrapper.cpp
0006 src/MaterialPhysicsList.cpp
0007 src/MaterialSteppingAction.cpp
0008 src/ParticleTrackingAction.cpp
0009 src/RegionCreator.cpp
0010 src/SensitiveSurfaceMapper.cpp
0011 src/SensitiveSteppingAction.cpp
0012 src/SimParticleTranslation.cpp
0013 src/ParticleKillAction.cpp
0014 src/PhysicsListFactory.cpp
0015 src/Geant4Manager.cpp
0016 )
0017
0018 target_compile_definitions(ActsExamplesGeant4 PUBLIC ${Geant4_DEFINITIONS})
0019 target_include_directories(
0020 ActsExamplesGeant4
0021 SYSTEM
0022 PUBLIC ${Geant4_INCLUDE_DIRS}
0023 )
0024 target_include_directories(
0025 ActsExamplesGeant4
0026 PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
0027 )
0028 target_link_libraries(
0029 ActsExamplesGeant4
0030 PUBLIC
0031 ActsCore
0032 ActsExamplesFramework
0033 ActsExamplesDetectorsCommon
0034 Boost::headers
0035 ${Geant4_LIBRARIES}
0036 )
0037
0038 install(TARGETS ActsExamplesGeant4 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})