Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using <filesystem> to improve prints, updating examples with new deg angular unit #46

Merged
merged 7 commits into from
May 25, 2022
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ add_executable(${PROJECT_NAME} restG4.cxx ${sources} ${headers})
target_link_libraries(${PROJECT_NAME} ${LINK_LIBRARIES})
target_include_directories(${PROJECT_NAME} SYSTEM PUBLIC ${INCLUDE_DIRS})

# Copy scripts to the build directory
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/examples
jgalan marked this conversation as resolved.
Show resolved Hide resolved
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
)

install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/examples/
DESTINATION ./examples/restG4/
COMPONENT install
Expand All @@ -74,7 +77,6 @@ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/mac
COMPONENT install
)

# Install the executable to 'bin' directory under CMAKE_INSTALL_PREFIX
install(TARGETS ${PROJECT_NAME} DESTINATION bin)

if (NOT ${CMAKE_PROJECT_NAME} STREQUAL ${PROJECT_NAME})
Expand Down