From 2fd28d2b7cec3468324a6f15eff7e73c285b1d7d Mon Sep 17 00:00:00 2001 From: Jia Tan Date: Fri, 16 Dec 2022 20:58:55 +0800 Subject: [PATCH] CMake: Update .gitignore for CMake artifacts from in source build. In source builds are not recommended, but we can make it easier by ignoring the generated artifacts from CMake. --- .gitignore | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.gitignore b/.gitignore index ead246c7..2804cfd9 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ .deps .libs +*.a *.gcda *.gcno *.la @@ -77,3 +78,25 @@ coverage /src/liblzma/api/Makefile /src/lzmainfo/Makefile /src/xzdec/Makefile + +/CMakeCache.txt +/CMakeFiles +/CTestTestfile.cmake +/cmake_install.cmake +/DartConfiguration.tcl +/liblzma-config-version.cmake +/liblzma-config.cmake +/lzcat +/lzcat.1 +/lzma +/lzma.1 +/Testing +/tests_bin/ +/unlzma +/unlzma.1 +/unxz +/unxz.1 +/xz +/xzcat +/xzcat.1 +/xzdec