From 848a160f2ec4f67fe8b9a1caee95e6f5aa3535d7 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 19 Apr 2021 18:11:17 +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 | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 2037a33..6fa0960 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,21 @@ *.o -/Makefile* +CMakeCache.txt +CMakeFiles +cmake_install.cmake +Makefile* +.ninja_deps +.ninja_log +build.ninja +*.vcxproj +*.vcxproj.filters +*.dir/ +Debug/ +Win32/ +include/ +*.lib +*.ilk +*.pdb +/*.sln /blackbox /bridges /cube @@ -42,6 +58,7 @@ /patternsolver /pearl /pearlbench +/pearlsolver /pegs /range /rect @@ -122,13 +139,18 @@ /icons/*.ico /icons/*.rc /icons/*-icon.c +/icons/*-icon-maker /icons/.deps /icons/.dirstamp /unfinished/divvy /unfinished/group +/unfinished/groupsolver /unfinished/numgame /unfinished/path /unfinished/pearl /unfinished/separate /unfinished/slide +/unfinished/slidesolver /unfinished/sokoban +/unfinished/*.exe +/*.desktop