Hi,
your problem has two natures. From the terminal you're most probably using
the "Unix Makefiles" generator. For xcode it's a multi-configuration
generator that adds the build configuration to the path. Now, about
CLion... it seems to run CMake by itself in a directory of it's choice.
You'll hav
I am having a bit of trouble getting this sorted out.
I set
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
in one of my cmakelists.txt file and it works almost as expected. If I use
the terminal to build everything goes where it needs to and then I can
reference the relative location