1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-09-03 23:50:53 +02:00

build all dll and executable at bin directory

This commit is contained in:
ClausKlein 2021-02-17 00:51:29 +01:00
parent 78b430b172
commit 56a3c22ad9
10 changed files with 33 additions and 16 deletions

View file

@ -20,9 +20,10 @@ endif()
# ---- Project settings ----
# XXX if(NOT MSVC)
option(BUILD_SHARED_LIBS "Create shared libraries if ON" YES)
# XXX endif()
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
if(NOT DEFINED CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)