Take a look at the CMAKE_RUNTIME_OUTPUT_DIRECTORY
variable. Setting it will put the executable in the directory you want. You can also use CMAKE_LIBRARY_OUTPUT_DIRECTORY
and CMAKE_ARCHIVE_OUTPUT_DIRECTORY
.
Take a look at the CMAKE_RUNTIME_OUTPUT_DIRECTORY
variable. Setting it will put the executable in the directory you want. You can also use CMAKE_LIBRARY_OUTPUT_DIRECTORY
and CMAKE_ARCHIVE_OUTPUT_DIRECTORY
.