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 | |
| parent | 18c56abe4bf5d069abe9ee44442cbbb859f845f5 (diff) | |
| download | monzero-core-ec54e2f82be0aa8a1bdea8549640698e0ff2a371.tar.gz monzero-core-ec54e2f82be0aa8a1bdea8549640698e0ff2a371.tar.xz monzero-core-ec54e2f82be0aa8a1bdea8549640698e0ff2a371.zip | |
cmake: place binaries together in the build tree
This allows Windows to copy binaries to one place rather than to each
executable directory.
| -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}" |
