diff options
author | Andriy Senkovych <jolly_roger@itblog.org.ua> | 2014-11-11 18:16:51 +0300 |
---|---|---|
committer | Andriy Senkovych <jolly_roger@itblog.org.ua> | 2014-11-11 18:26:59 +0300 |
commit | d69991fa11cac8dea91f60f5e7a75970873262c7 (patch) | |
tree | cd456a61f5cb3543e24677c3d63a0249631baae6 /CMakeLists.txt | |
parent | 5cceb9e37aecda8f8d703cd44cafd94f035b5ff3 (diff) |
Set separate directory to place binaries
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b7a4961b..36e7d1d5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,9 @@ set(LIB_VERSION_STRING "${LIB_MAJOR_VERSION}.${LIB_MINOR_VERSION}.${LIB_PATCH_VE # compile in release with debug info mode by default SET(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "Build Type") +# Build all binaries in a separate directory +SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) + option(RAPIDJSON_BUILD_DOC "Build rapidjson documentation." ON) option(RAPIDJSON_BUILD_EXAMPLES "Build rapidjson examples." ON) option(RAPIDJSON_BUILD_TESTS "Build rapidjson perftests and unittests." ON) |