Warning, /acts/Fatras/Geant4/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 add_library(
0002 ActsFatrasGeant4
0003 SHARED
0004 src/Geant4Decay.cpp
0005 src/PDGtoG4Converter.cpp
0006 src/DummyDetectorConstruction.cpp
0007 )
0008 target_compile_definitions(ActsFatrasGeant4 PUBLIC ${Geant4_DEFINITIONS})
0009 target_include_directories(
0010 ActsFatrasGeant4
0011 SYSTEM
0012 PUBLIC ${Geant4_INCLUDE_DIRS}
0013 )
0014 target_include_directories(
0015 ActsFatrasGeant4
0016 PUBLIC
0017 $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
0018 $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
0019 )
0020 target_link_libraries(
0021 ActsFatrasGeant4
0022 PUBLIC ActsCore ActsFatras ${Geant4_LIBRARIES}
0023 )
0024
0025 install(
0026 TARGETS ActsFatrasGeant4
0027 EXPORT ActsFatrasGeant4Targets
0028 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
0029 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
0030 )
0031 install(DIRECTORY include/ActsFatras DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})