InterviewSolution
| 1. |
Clion Builds My Project In Some Ide’s Directory? How To Change That? |
|
Answer» This can be done easily with CMake variables. Just set: set (CMAKE_RUNTIME_OUTPUT_DIRECTORY "my_dir") You can CHANGE BUILD output DIRECTORY in Preferences/Settings | Build, Execution, Deployment | CMake dialog as well. In ADDITION, the Run/Debug Configurations dialog (Run | Edit Configurations…) in CLion allows you to set program execution arguments, working directory, and environment variables. This can be done easily with CMake variables. Just set: set (CMAKE_RUNTIME_OUTPUT_DIRECTORY "my_dir") You can change build output directory in Preferences/Settings | Build, Execution, Deployment | CMake dialog as well. In addition, the Run/Debug Configurations dialog (Run | Edit Configurations…) in CLion allows you to set program execution arguments, working directory, and environment variables. |
|