diff --git a/cmake/CorsikaUtilities.cmake b/cmake/CorsikaUtilities.cmake index 85e232bdc85762470eb1ceb73b87c00e8e31b21e..c71e9bea31a13a80e195552f671ac89963af3759 100644 --- a/cmake/CorsikaUtilities.cmake +++ b/cmake/CorsikaUtilities.cmake @@ -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 "" diff --git a/corsika/detail/setup/SetupStack.inl b/corsika/detail/setup/SetupStack.inl index 4181d1eb88e13b76a5af0a9ae56f5586ddf707bd..56fb4ff62c2172b386bc0efa9a452ccc8213947e 100644 --- a/corsika/detail/setup/SetupStack.inl +++ b/corsika/detail/setup/SetupStack.inl @@ -5,4 +5,3 @@ * Licence version 3 (GPL Version 3). See file LICENSE for a full version of * the license. */ - diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index d0ddae703909dcbcf31335f9a5c7ff98720f53fc..c7804699fed3885ee63d5a8937c1cf4b1f3a60c9 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -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)