chiark / gitweb /
Add .gitignore rules for in-tree builds.
authorSimon Tatham <anakin@pobox.com>
Mon, 19 Apr 2021 17:11:17 +0000 (18:11 +0100)
committerSimon Tatham <anakin@pobox.com>
Mon, 19 Apr 2021 17:11:17 +0000 (18:11 +0100)
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

index 2037a335641e08f26717cf48e338d8e7cd38b6de..6fa09602ce916f1ea7d83bfb757d335034540f5d 100644 (file)
@@ -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
 /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