CMake Setting GUI Editor

已回答

I'm new to CLion, just have purchased a license -- trying to switch to CLion as a unified C++ IDE for Win/Lin/Mac. Overall, I really enjoy the IDE; love the multi-cursor which works just like in Sublime Text (i.e., the right way). Awesome.

One thing bothers me, though; I can't find a way to conveniently edit CMake settings with a property grid, like in cmake-gui or in QT Creator. Many projects (including mine) define cached settings with options. This way you can conveniently switch settings with a drop down list -- instead of memorizing available options and defining variables via the command line.

Tried to Google and search the forum but to no avail. Did my Google-foo failed me? Or is it really missing in CLion?

0

Hello!

In CLion you can specify CMake settings either in the CMakeLists.txt, or in a CMake profile (https://www.jetbrains.com/help/clion/cmake-profile.html). There is no other GUI for that. Feel free to comment or upvote https://youtrack.jetbrains.com/issue/CPP-423. 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.

0
Avatar
Permanently deleted user

OK, I see, thanks. Upvoted all related feature requests. However, most of those are about 5 years old, so it looks like you guys are not really keen on implementing this feature.

In my opinion, this feature is a must for an IDE that supports CMake, let alone an IDE that chooses CMake as the main project format, like CLion does (and that was a great design decision BTW). For example, QT Creator has ``.pro`` as its native project format but it still features a GUI editor for CMake settings.

1

请先登录再写评论。