Skip to content

Commit

Permalink
Add .gitignore rules for in-tree builds.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sgtatham committed Apr 19, 2021
1 parent e6c0fa6 commit e273386
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -16,6 +29,7 @@
/*.dsw
/*.opt
/*.dsp
/*.sln
/*.tds
/*.td2
/*.map
Expand Down Expand Up @@ -46,6 +60,9 @@
/testzlib
/cgtest
/scctest
/test_host_strfoo
/test_tree234
/test_wildcard
/*.DSA
/*.RSA
/*.cnt
Expand All @@ -54,9 +71,9 @@
/build.log
/build.out
/empty.h
/Makefile
Makefile
/compile
/*.a
*.a
/charset/sbcsdat.c
/contrib/cygtermd/cygtermd.exe
/doc/*.html
Expand Down

0 comments on commit e273386

Please sign in to comment.