]> source.dussan.org Git - gitignore.git/commitdiff
Extend C to ignore Visual Studio artifacts
authorArvid Gerstmann <ag@arvid.io>
Tue, 6 Sep 2016 04:56:04 +0000 (06:56 +0200)
committerGitHub <noreply@github.com>
Tue, 6 Sep 2016 04:56:04 +0000 (06:56 +0200)
Visual Studio creates a few artifacts which weren't ignored before,
mainly .idb, .pdb and .ilk files which are either created by CL.EXE or
by LINK.EXE were added to the gitignore for Windows projects.

A little more information can be found here on Microsoft's
documentation: https://msdn.microsoft.com/en-us/library/3awe4781.aspx

C.gitignore

index 7a065c709c75460a6cd3cbc49f58b263a6ad1567..6c0ea0c59298901d1e001ac7846c87b1a9a97f85 100644 (file)
@@ -7,6 +7,11 @@
 *.obj
 *.elf
 
+# Linker output
+*.ilk
+*.map
+*.exp
+
 # Precompiled Headers
 *.gch
 *.pch
@@ -34,3 +39,5 @@
 # Debug files
 *.dSYM/
 *.su
+*.idb
+*.pdb