Separate source, CMakeLists.txt and build directories
Answered
Hi,
Here's what I want to achieve:
I want to have three directories: "build", "src" and "cmake". "cmake" has the CMakeLists.txt which should compile source files in src and build the target in "build". However, Clion expects CMakeLists.txt to be in "src". How can I set up my project with these three folders?
Thanks
Please sign in to leave a comment.
Hello!
You can change project root - https://www.jetbrains.com/help/clion/change-project-root-directory.html.