Organize .gitignore and also ignore build dir stuff

Sort the stuff alphabetically, add some comments, ignore stuff that can
appear in build directories, so we don't have to guess the build
directory's name.
This commit is contained in:
heinrich5991 2018-02-05 00:50:55 +01:00
parent 861f234ea7
commit 22bacc1e16

80
.gitignore vendored
View file

@ -1,40 +1,74 @@
# The following three lines exclude all files (not directories) which don't
# have a period in them. This should exclude executables on non-Windows
# platforms.
* *
!**/ !**/
!*.* !*.*
# Ignore data-folders outside the root, these are copied around to build
# directories.
data/
!/data/
bundle/
!/other/bundle/
.ninja_deps
.ninja_log
CMakeCache.txt
CMakeFiles
CMakeSettings*
CPackConfig.cmake
CPackSourceConfig.cmake
CTestTestfile.cmake
_CPack_Packages/
build.ninja
cmake_install.cmake
gmock.pc
gmock_main.pc
googletest-build/
googletest-download/
googletest-src/
gtest.pc
gtest_main.pc
pack_*/
rules.ninja
testrunner\[1\]_include.cmake
src/game/generated src/game/generated
.cproject .cproject
.project .project
*.exe .settings
cscope.files
cscope.out
# bam ignores
/config.lua
/objs
*.cmd
*.dll *.dll
*.dmg
*.dtb *.dtb
*.log *.exe
*.res *.filters
*.patch
*.prefs
*.lnk *.lnk
*.log
*.opensdf
*.patch
*.pdb *.pdb
*.prefs
*.pyc
*.res
*.sdf *.sdf
*.sln *.sln
*.suo *.suo
*.swp *.swp
*.vs *.tar.gz
*.vcxproj *.tar.xz
*.filters *.teehistorian
*.user *.user
*.cmd *.vcxproj
.settings *.vs
*.opensdf *.zip
*.pyc
cscope.out
cscope.files
CMakeCache.txt
CMakeSettings*
CMakeFiles
CPackConfig.cmake
CPackSourceConfig.cmake
_CPack_Packages/
cmake_install.cmake
/build/