From e273386272659afaa246499b5ece55f802c63c6e Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 19 Apr 2021 18:10:31 +0100 Subject: [PATCH] Add .gitignore rules for in-tree builds. This set of rules should cover make and ninja on Linux, and all of nmake, ninja and vcxproj on Windows, so that if someone follows the README build instructions (by doing 'cmake .' in-tree), it should generate no debris that .gitignore can't filter out. --- .gitignore | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 68729ab3..c663ae25 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,18 @@ *.o *.pyc +*.vcxproj +*.vcxproj.filters +.ninja_deps +.ninja_log +build.ninja +/CMakeCache.txt +CMakeFiles/ +Debug/ +Win32/ +cmake_install.cmake +/shipped.txt +*.dir/ +*.lib .dirstamp .deps .DS_Store @@ -16,6 +29,7 @@ /*.dsw /*.opt /*.dsp +/*.sln /*.tds /*.td2 /*.map @@ -46,6 +60,9 @@ /testzlib /cgtest /scctest +/test_host_strfoo +/test_tree234 +/test_wildcard /*.DSA /*.RSA /*.cnt @@ -54,9 +71,9 @@ /build.log /build.out /empty.h -/Makefile +Makefile /compile -/*.a +*.a /charset/sbcsdat.c /contrib/cygtermd/cygtermd.exe /doc/*.html