Make the MSVC projects use PDB/IDB files named after the project
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>
Sebastian Schuberth committed
Oct 19, 2009 at 18:40 UTC
3fe9747b94ca81d29894debdb371cff3b1d89af1
1 file changed
+4
contrib/buildsystems/Generators/Vcproj.pm
+4
@@ -178,6 +178,7 @@ sub createLibProject {
178
MinimalRebuild="true"
179
RuntimeLibrary="1"
180
UsePrecompiledHeader="0"
181
+ ProgramDataBaseFileName="\$(IntDir)\\\$(TargetName).pdb"
182
WarningLevel="3"
183
DebugInformationFormat="3"
184
/>
@@ -244,6 +245,7 @@ sub createLibProject {
245
RuntimeLibrary="0"
246
EnableFunctionLevelLinking="true"
247
UsePrecompiledHeader="0"
248
+ ProgramDataBaseFileName="\$(IntDir)\\\$(TargetName).pdb"
249
WarningLevel="3"
250
DebugInformationFormat="3"
251
/>
@@ -401,6 +403,7 @@ sub createAppProject {
403
MinimalRebuild="true"
404
RuntimeLibrary="1"
405
UsePrecompiledHeader="0"
406
+ ProgramDataBaseFileName="\$(IntDir)\\\$(TargetName).pdb"
407
WarningLevel="3"
408
DebugInformationFormat="3"
409
/>
@@ -472,6 +475,7 @@ sub createAppProject {
475
RuntimeLibrary="0"
476
EnableFunctionLevelLinking="true"
477
UsePrecompiledHeader="0"
478
+ ProgramDataBaseFileName="\$(IntDir)\\\$(TargetName).pdb"
479
WarningLevel="3"
480
DebugInformationFormat="3"
481
/>