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:
parent
78b430b172
commit
56a3c22ad9
10 changed files with 33 additions and 16 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue