Skip to content

Instantly share code, notes, and snippets.

@alext234
Created January 10, 2017 06:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save alext234/685d4100b0fb110e874d095797259978 to your computer and use it in GitHub Desktop.
Save alext234/685d4100b0fb110e874d095797259978 to your computer and use it in GitHub Desktop.
.gitignore for c++ with build directory and vim swap files included
# Compiled Object files
*.slo
*.lo
*.o
*.obj
# Precompiled Headers
*.gch
*.pch
# Compiled Dynamic libraries
*.so
*.dylib
*.dll
# Fortran module files
*.mod
*.smod
# Compiled Static libraries
*.lai
*.la
*.a
*.lib
# Executables
*.exe
*.out
*.app
# build directory typically used with cmake
build
# vim swap files
*.swn
*.swp
*.swo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment