[PATCH 01/10] cmake: ignore files generated by CMake as run in Visual Studio
- From
Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Sep 25, 2020, 14:28 UTC
- Message-ID
- <ba314373e9cb867c1c36eea6fed655be27133872.1601044118.git.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.738.git.1601044118.gitgitgadget@gmail.com>
From: Johannes Schindelin <johannes.schindelin@gmx.de>
As of recent Visual Studio versions, CMake support is built-in: https://docs.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio?view=vs-2019
All that needs to be done is to open the worktree as a folder, and Visual Studio will find the `CMakeLists.txt` file and automatically generate the project files.
Let's ignore the entirety of those generated files.
Helped-by: Đoàn Trần Công Danh <congdanhqx@gmail.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> --- .gitignore | 1 + 1 file changed, 1 insertion(+)
diff --git a/.gitignore b/.gitignore index d0f692a355..6521f3cf22 100644 --- a/.gitignore +++ b/.gitignore @@ -241,3 +241,4 @@ Release/ /git.VC.VC.opendb /git.VC.db *.dSYM +/contrib/buildsystems/out
-- gitgitgadget