1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-31 22:21:13 +02:00

feat: add release action

This commit is contained in:
Alexandre Tolstenko 2022-12-02 10:58:14 -05:00
parent f530172a7e
commit 5c1538f56e
2 changed files with 63 additions and 0 deletions

View file

@ -18,6 +18,11 @@ if(PROJECT_SOURCE_DIR STREQUAL PROJECT_BINARY_DIR)
)
endif()
# ---- Set output directories ----
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/out)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/out)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/out)
# ---- Add dependencies via CPM ----
# see https://github.com/TheLartians/CPM.cmake for more info