From def99ad68bce83deabf24694f88f0b0c98287a24 Mon Sep 17 00:00:00 2001 From: Balazs Benics Date: Fri, 22 Jan 2021 12:45:29 +0100 Subject: [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 --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) (limited to '.gitignore') 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* -- cgit v1.2.1