Add CMakeUserPresets.json to .gitignore

The CMakeUserPresets.json file can be used to simplify configuring Qt,
particularly with tools such as Visual Studio and Visual Studio Code.

As opposed to the CMakePresets.json, the CMakeUserPresets.json should
only contain user specific configurations, and should never be checked
into source code management system.

This file is already ignored in the top level Qt super-project, but to
facilitate working with each individual submodule, we should also have
this .gitignore in each submodule.

Change-Id: I383417c7fe9d803aeb0385ba83e8c9cee6181602
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
(cherry picked from commit 5546f2df538c06f5e7cc3e218f03a9a0ef2d830e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Jøger Hansegård 2023-06-13 09:08:15 +02:00 committed by Qt Cherry-pick Bot
parent 9435d8b2cf
commit 74ef834fcc

1
.gitignore vendored
View File

@ -333,3 +333,4 @@ CTestTestfile.cmake
cmake_install.cmake
*_autogen
tst_*.xml
CMakeUserPresets.json