How to use CMakeLists.txt to analyze project

Answered

When I first open project, I choose to use compilation database, but when I want to change back to use CMakeLists.txt to get better configuration experience, I can't.

 

1 comment
Comment actions Permalink

Hello!

Unfortunately, the actions to load/unload compilation database project are not implemented yet. Feel free to comment or upvote https://youtrack.jetbrains.com/issue/CPP-15062/Add-ability-to-load-and-unload-compilation-database-project. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.

Meanwhile to reset project settings you can close the project (File | Close Project) and delete the .idea subfolder (or move it to some other location). That will remove all the project settings. And you will be able to open the project as a CMake project in CLion.

0

Please sign in to leave a comment.