From f62e5aae51c6dcb03ea675f67f8a0cf72ea8d259 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 11dbc591..4227d412 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ .deps .libs +*.a *.la *.lo *.o @@ -68,3 +69,25 @@ build-aux/test-driver /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