Howto add new entries to CMake Cache

Hello,

to configure my project, I have add some entries to CMakeCache.
With cmake-gui or ccmake it's no problem.
But how can add new entries (key/value pairs) within CLion?

regards
André

3 comments
Comment actions Permalink

Hi Andre.

CLion has a basic UI for cache editing. You can find it via View | Tool windows | CMake | Cache tab.
Please find out more information in CLion web help: https://www.jetbrains.com/clion/help/cmake-cache.html

Also feel free to add your comment to the issue in the tracker: https://youtrack.jetbrains.com/issue/CPP-423

0
Comment actions Permalink

Well I know that tab. But there I cannot add new entries, but just edit existing entries.
I was searching for features like add/remove like in cmake-gui/ccmake.

0
Comment actions Permalink

Hi Andre.

Sorry for the delay. It's not implemented yet. Feel free to comment or upvote a feature request about CMakeCache editor improvements: https://youtrack.jetbrains.com/issue/CPP-423.

0

Please sign in to leave a comment.