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