Reputation: 491
I'm new with CLion and CMakeList. I'd like to have different locations for:
When opening default projects all are located under the same directory tree
What are the steps to create such project ('Hello world')?
Upvotes: 1
Views: 785
Reputation: 10107
AFAIK, you can only set one global path for each jetbrains' IDE, by writing IDE_HOME\bin\idea.properties
file.
Details can be found here.
Settings
-> Build, Execution, Deployment
-> CMake
-> Generation path
You can also set several paths for different build profiles there.
Add sources and include directories in CMakeLists.txt
.
Upvotes: 1