diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-11-18 17:02:28 -0500 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2014-11-18 17:02:28 -0500 |
commit | ec54e2f82be0aa8a1bdea8549640698e0ff2a371 (patch) | |
tree | 1e598698cc30a06067cddf0cf06e10efeaf777c2 /src/CMakeLists.txt | |
parent | msys: don't use LTO (diff) | |
download | monero-ec54e2f82be0aa8a1bdea8549640698e0ff2a371.tar.xz |
cmake: place binaries together in the build tree
This allows Windows to copy binaries to one place rather than to each
executable directory.
Diffstat (limited to '')
-rw-r--r-- | src/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a77c232ca..43c5740af 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -60,6 +60,9 @@ function (bitmonero_add_executable name) set_property(TARGET "${name}" PROPERTY FOLDER "prog") + set_property(TARGET "${name}" + PROPERTY + RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin") if (STATIC) set_property(TARGET "${name}" |