I am rather confused about how to specify the output directory. I am working on Windows with the Ninja generator and Microsoft toolset. My default build type is Debug. I am building a library and an executable:
The resulting directory structure, after a build, is:
Kernel <== source files
|--Kernel <== library goes here
|--debug <== exe goes here
I want the Kernel library to go into the 'debug' folder (where the exe is correctly being put).
$CMAKE_RUNTIME_OUTPUT_DIRECTORY and $RUNTIME_OUTPUT_DIRECTORY are undefined.
How would I achieve this?
Which variable holds the exe output path: build_msvc/debug?
Powered by kitware.com/cmake
Kitware offers various services to support the CMake community. For more information on each offering, please visit https://cmake.org/services