IAP GITLAB

Skip to content
Snippets Groups Projects
Commit d856033e authored by ralfulrich's avatar ralfulrich
Browse files

this works now

parent 5aad5074
No related branches found
No related tags found
No related merge requests found
......@@ -110,7 +110,7 @@ function (CORSIKA_REGISTER_EXAMPLE)
endif ()
add_dependencies (run_examples ${name})
# just run the command as-is
set (CMD ${CMAKE_CURRENT_BINARY_DIR}/${name} ${run_options})
set (CMD ${CMAKE_BINARY_DIR}/bin/${name} ${run_options})
add_custom_command (TARGET run_examples
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E echo ""
......
......@@ -5,4 +5,3 @@
* Licence version 3 (GPL Version 3). See file LICENSE for a full version of
* the license.
*/
......@@ -6,30 +6,30 @@ add_executable (geometry_example geometry_example.cpp)
target_link_libraries (geometry_example CORSIKA8)
CORSIKA_REGISTER_EXAMPLE (geometry_example)
# logging back in March was not used
#add_executable (logger_example logger_example.cpp)
#target_link_libraries (logger_example CORSIKA8)
#CORSIKA_REGISTER_EXAMPLE (logger_example)
# # logging back in March was not used
# #add_executable (logger_example logger_example.cpp)
# #target_link_libraries (logger_example CORSIKA8)
# #CORSIKA_REGISTER_EXAMPLE (logger_example)
add_executable (stack_example stack_example.cpp)
target_link_libraries (stack_example CORSIKA8)
CORSIKA_REGISTER_EXAMPLE (stack_example)
# add_executable (stack_example stack_example.cpp)
# target_link_libraries (stack_example CORSIKA8)
# CORSIKA_REGISTER_EXAMPLE (stack_example)
add_executable (cascade_example cascade_example.cpp)
target_link_libraries (cascade_example CORSIKA8)
CORSIKA_REGISTER_EXAMPLE (cascade_example)
# add_executable (cascade_example cascade_example.cpp)
# target_link_libraries (cascade_example CORSIKA8)
# CORSIKA_REGISTER_EXAMPLE (cascade_example)
add_executable (boundary_example boundary_example.cpp)
target_link_libraries (boundary_example CORSIKA8)
CORSIKA_REGISTER_EXAMPLE (boundary_example)
add_executable (cascade_proton_example cascade_proton_example.cpp)
target_link_libraries (cascade_proton_example CORSIKA8)
CORSIKA_REGISTER_EXAMPLE (cascade_proton_example)
# add_executable (cascade_proton_example cascade_proton_example.cpp)
# target_link_libraries (cascade_proton_example CORSIKA8)
# CORSIKA_REGISTER_EXAMPLE (cascade_proton_example)
add_executable (vertical_EAS vertical_EAS.cpp)
target_link_libraries (vertical_EAS CORSIKA8)
CORSIKA_REGISTER_EXAMPLE (vertical_EAS)
# add_executable (vertical_EAS vertical_EAS.cpp)
# target_link_libraries (vertical_EAS CORSIKA8)
# CORSIKA_REGISTER_EXAMPLE (vertical_EAS)
add_executable (stopping_power stopping_power.cpp)
target_link_libraries (stopping_power CORSIKA8)
......
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