Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Default working directory in Clion

Tags:

clion

How to change default working directory in Clion EAP on the Mac?
Every time when I create new project, I need to change it to project location.

like image 878
Viktor Shatrov Avatar asked Nov 01 '14 09:11

Viktor Shatrov


1 Answers

First of all, it is not possible to change the working directory through the GUI of CLion (see second question in "CMake configuration" section in Source) but you can ask the developers to add this feature in the future (see this).

On the other hand, as far as I know, it is not possible to automatically add set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}") in the CMakeList.txt, but if I find a solution, I will write it here.

like image 115
Antonio VR Avatar answered Sep 24 '22 10:09

Antonio VR