Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Commit def99ad

Browse files
committed
[NFC] Add CMakeUserPresets.json filename to .gitignore
CMake 3.19 introduced the `presets`. Quoting the documentation: > `CMakePresets.json` may be checked into a version control system, and > `CMakeUserPresets.json` **should NOT be checked in**. We will ignore the `CMakeUserPresets.json` file if that is present at the root of a subproject. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D93167
1 parent 5dbe5d2 commit def99ad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
#OS X specific files.
2222
.DS_store
2323

24+
# Ignore the user specified CMake presets in subproject directories.
25+
/*/CMakeUserPresets.json
26+
2427
# Nested build directory
2528
/build*
2629

0 commit comments

Comments
 (0)