1 | initial version |
To reset the output directory of an executable file in CLion IDE, you can follow these steps:
Alternatively, you can modify the CMakeLists.txt file directly to specify the new output directory. Simply add the line below to the CMakeLists.txt file and replace the "path/to/new/directory" with the actual path to the new output directory.
set(CMAKERUNTIMEOUTPUT_DIRECTORY "path/to/new/directory")
Be sure to save the changes and reload the CMake project in CLion to apply the new output directory.