Skip to content
Permalink
Browse files

CMake: Output Windows binaries into Binary

  • Loading branch information...
spycrab committed May 15, 2019
1 parent da046f0 commit d15f5936b3e9cbd47b008dd16cedfed56071bacc
Showing with 2 additions and 2 deletions.
  1. +2 −2 CMakeLists.txt
@@ -107,12 +107,12 @@ endif()
# as defined above.
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Binaries)

if (MSVC)
if (WIN32)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/Binary)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_MINSIZEREL ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})

endif()

# setup CCache

0 comments on commit d15f593

Please sign in to comment.
You can’t perform that action at this time.