build: Output executables and static libraries to separate directories

This commit is contained in:
Vsevolod Kremianskii 2020-10-11 10:50:55 +07:00
parent 342133bb94
commit c795188eab

View file

@ -16,6 +16,9 @@
cmake_minimum_required(VERSION 3.10)
project(reone)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
option(BUILD_TOOLS "build tools executable" ON)
option(BUILD_TESTS "build unit tests" OFF)
option(USE_EXTERNAL_GLM "use GLM library from external subdirectory" OFF)