gitignore icon indicating copy to clipboard operation
gitignore copied to clipboard

Added CMakeUserProfiles.json to CMake template

Open rvodden opened this issue 3 years ago • 1 comments

Reasons for making this change: CMake 3.19 introduced a feature which allows project maintainers to distribute CMake settings with their code. In addition, there is a facility for users to maintain a local set of CMake settings for convenience.

Links to documentation supporting these rule changes:

CMake Profiles Documentation

CMakePresets.json may be checked into a version control system, and CMakeUserPresets.json should NOT be checked in. For example, if a project is using Git, CMakePresets.json may be tracked, and CMakeUserPresets.json should be added to the .gitignore.

rvodden avatar Apr 30 '22 06:04 rvodden

For the maintainers of this repo: this PR is a duplicate of #3595. That one seems to have been opened by an employee of Kitware (and CMake contributor), so it's probably worth sending questions that way.

aloisklink avatar May 07 '22 23:05 aloisklink