cmake: place binaries together in the build tree
This allows Windows to copy binaries to one place rather than to each executable directory.
This commit is contained in:
parent
18c56abe4b
commit
ec54e2f82b
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue