[CMake] Reliable binaries output directory

Lucas Soltic lucas.soltic at orange.fr
Fri Mar 7 12:55:13 EST 2014


Hello,

Is there a way to know exactly (through a CMake variable or command) where the binaries will be put?

I've defined CMAKE_RUNTIME_OUTPUT_DIRECTORY to put all the executables in the same directory, but some generators will use a Debug/Release subdirectory of this variable's value, whereas others won't.

Thanks,
Lucas


More information about the CMake mailing list