How to sync CMakeSettings using a settings repository?
已回答
I am working with ros and I would like to be able to compile all projects with clion, for this I have following cmake configuration:
<configuration PROFILE_NAME="Debug" CONFIG_NAME="Debug" GENERATION_OPTIONS="-DWERROR=On -DCATKIN_DEVEL_PREFIX:PATH=/home/<username>/catkin_ws/devel" GENERATION_DIR="$PROJECT_DIR$/../../build" />
Now I open dozens of projects and would like to be able to all compile them without having to go into the settings and set up this setting. I thought the settings repository might help here, but it seems like the CMakeSettings are not synced, because I got a success message when uploading my settings and also when syncing them, but the CMakeSettings are still not synced.
请先登录再写评论。
Hi!
The Settings Repository feature allows you to share your IDE settings. But File | Settings | Build, Execution, Deployment | CMake are project settings (and therefore are not shared). Feel free to comment or upvote the feature request about possibility to share CMake options: https://youtrack.jetbrains.com/issue/CPP-7911.