Re: [CMake] cmake output files and different platforms.

2015-08-04 Thread Jakub Zakrzewski
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

[CMake] cmake output files and different platforms.

2015-08-04 Thread Owen Alanzo Hogarth
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