cmake: results to bin & lib dirs
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Sat, 11 Jun 2016 17:45:55 +0000 (20:45 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Sat, 11 Jun 2016 17:46:05 +0000 (20:46 +0300)
CMakeLists.txt

index d79b3f4d468aff982c059bda31357322a59e7a05..e5b5ea568e7bc5bf2ab62cae105f5654a0457ff9 100644 (file)
@@ -1,6 +1,10 @@
 cmake_minimum_required(VERSION 2.8)
 project(kms++)
 
+set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
+set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
+set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
+
 include(CheckCXXCompilerFlag)
 
 IF(NOT CMAKE_BUILD_TYPE)