IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 9638e331 authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan:
Browse files

add conex_random.cpp to cxroot via CMake target_sources()

parent fe02bcd9
No related branches found
No related tags found
Loading
add_subdirectory(cxroot) add_subdirectory(cxroot)
add_library(conex_random STATIC conex_random.cpp) target_sources(CONEXsibyll PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/conex_random.cpp)
target_link_libraries(conex_random PUBLIC modules_common)
target_link_libraries(CONEXsibyll conex_random)
#
# add to combined CORSIKA8 target
#
add_dependencies (CORSIKA8 CONEXsibyll)
target_link_libraries (CORSIKA8 INTERFACE CONEXsibyll)
#
# install and export
#
install (
TARGETS CONEXsibyll conex_random
EXPORT CORSIKA8PublicTargets
ARCHIVE DESTINATION lib/corsika
PUBLIC_HEADER DESTINATION include/corsika_modules/conex
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment