diff options
author | bunnei <bunneidev@gmail.com> | 2014-12-03 23:46:53 -0500 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-12-03 23:46:53 -0500 |
commit | 9889a775b4e9fc69c35a799ac23ff423ad90f436 (patch) | |
tree | 0d8c772f4812ca05da7cefacf6ddb192c443fc1b | |
parent | abbc3409572dafacaca29c71a6ed1163d762aafb (diff) | |
parent | 8712c9dcd6df69866248328ab37c1e1b986d94bd (diff) |
Merge pull request #240 from Subv/cmake
CMake: Place all built files in a single folder in MSVC
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index bbe9f76cd..05a560404 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,8 @@ if (NOT MSVC) else() # Silence deprecation warnings add_definitions(/D_CRT_SECURE_NO_WARNINGS) + # set up output paths for executable binaries (.exe-files, and .dll-files on DLL-capable platforms) + set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) endif() add_definitions(-DSINGLETHREADED) |