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.
This commit is contained in:
Jia Tan 2022-12-16 20:58:55 +08:00
parent 8fd225a2c1
commit 8ace358d65
1 changed files with 23 additions and 0 deletions

23
.gitignore vendored
View File

@ -5,6 +5,7 @@
.deps .deps
.libs .libs
*.a
*.gcda *.gcda
*.gcno *.gcno
*.la *.la
@ -77,3 +78,25 @@ coverage
/src/liblzma/api/Makefile /src/liblzma/api/Makefile
/src/lzmainfo/Makefile /src/lzmainfo/Makefile
/src/xzdec/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