Code

Make the MSVC projects use PDB/IDB files named after the project
authorSebastian Schuberth <sschuberth@gmail.com>
Mon, 19 Oct 2009 16:40:47 +0000 (18:40 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 30 Oct 2009 16:37:50 +0000 (09:37 -0700)
Instead of having all PDB files for all projects named "vc90.pdb", name them
after the respective project to make the relation more clear (and to avoid name
clashes when copying files around).

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Acked-by: Marius Storm-Olsen <mstormo@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/buildsystems/Generators/Vcproj.pm

index be94ba18d2b42a5b67f6853cac4611fd06c9c71e..cfa74adcc23881f229c84c29a78d7bfd4aa2f2a4 100644 (file)
@@ -178,6 +178,7 @@ sub createLibProject {
                                MinimalRebuild="true"
                                RuntimeLibrary="1"
                                UsePrecompiledHeader="0"
+                               ProgramDataBaseFileName="\$(IntDir)\\\$(TargetName).pdb"
                                WarningLevel="3"
                                DebugInformationFormat="3"
                        />
@@ -244,6 +245,7 @@ sub createLibProject {
                                RuntimeLibrary="0"
                                EnableFunctionLevelLinking="true"
                                UsePrecompiledHeader="0"
+                               ProgramDataBaseFileName="\$(IntDir)\\\$(TargetName).pdb"
                                WarningLevel="3"
                                DebugInformationFormat="3"
                        />
@@ -401,6 +403,7 @@ sub createAppProject {
                                MinimalRebuild="true"
                                RuntimeLibrary="1"
                                UsePrecompiledHeader="0"
+                               ProgramDataBaseFileName="\$(IntDir)\\\$(TargetName).pdb"
                                WarningLevel="3"
                                DebugInformationFormat="3"
                        />
@@ -472,6 +475,7 @@ sub createAppProject {
                                RuntimeLibrary="0"
                                EnableFunctionLevelLinking="true"
                                UsePrecompiledHeader="0"
+                               ProgramDataBaseFileName="\$(IntDir)\\\$(TargetName).pdb"
                                WarningLevel="3"
                                DebugInformationFormat="3"
                        />