Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You're not doing any installing so the install command doesn't come in to play. This should do it:

set(RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)

(see the docs at

cmake --help-full | less

) You'd need to post your whole cmakelists for me to be sure.

You're not doing any installing so the install command doesn't come in to play. This should do it:

set(RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)

${CMAKE_SOURCE_DIR}/bin)

(see see the docs at

cmake --help-full | less

) You'd need to post your whole cmakelists for me to be sure.