Why is the template generate a CMakeUserPresets, should not those be outside of git and local to the dev own setup? #83
Replies: 2 comments 1 reply
-
The user presets are in fact outside of git: The developer guide also says that user presets where all the local settings could comfortably go: cmake-init/cmake-init/templates/common/HACKING.md Lines 74 to 76 in 5cb71c9 |
Beta Was this translation helpful? Give feedback.
-
Yes, but my understanding is that this is the place where a developer can customize for his own benefit, but in cmake-init the dev-* presets are put in this file. That dev-* presets looks more like a project-wide dev setting than a local one. Basically, only the developer should play with his own CMakeUserPresets, and he should basically be the one creating the file on his local PC, if I understood this properly. |
Beta Was this translation helpful? Give feedback.
-
Still learning about cmake, saw the presets stuff, found this project. Tried it, and I see a CMakeUserPreset generated, but isn't this file suppose to be for local only?
I would have expected all the preset in there to be part of the CMakePresets and not have a CMakeUserPresets unless I create one myself.
https://cmake.org/cmake/help/latest/manual/cmake-presets.7.html
Beta Was this translation helpful? Give feedback.
All reactions