aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-11-18 17:02:28 -0500
committerBen Boeckel <ben.boeckel@kitware.com>2014-11-18 17:02:28 -0500
commitec54e2f82be0aa8a1bdea8549640698e0ff2a371 (patch)
tree1e598698cc30a06067cddf0cf06e10efeaf777c2 /src/CMakeLists.txt
parentmsys: don't use LTO (diff)
downloadmonero-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 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt3
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}"