summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorBalazs Benics <benicsbalazs@gmail.com>2021-01-22 12:45:29 +0100
committerBalazs Benics <benicsbalazs@gmail.com>2021-01-22 12:45:29 +0100
commitdef99ad68bce83deabf24694f88f0b0c98287a24 (patch)
tree16ecd4fb0c5f7a2709db3796bcdb20205344bff6 /.gitignore
parent5dbe5d2c91209db9830d5b17093c408f22a7b471 (diff)
downloadllvm-def99ad68bce83deabf24694f88f0b0c98287a24.tar.gz
[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
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index c58c673c198a..b33fbbf93237 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,6 +21,9 @@
#OS X specific files.
.DS_store
+# Ignore the user specified CMake presets in subproject directories.
+/*/CMakeUserPresets.json
+
# Nested build directory
/build*