Skip to content

Commit 3fe9747

Browse files
sschuberthgitster
authored andcommitted
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>
1 parent 0fcabde commit 3fe9747

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contrib/buildsystems/Generators/Vcproj.pm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ sub createLibProject {
178178
MinimalRebuild="true"
179179
RuntimeLibrary="1"
180180
UsePrecompiledHeader="0"
181+
ProgramDataBaseFileName="\$(IntDir)\\\$(TargetName).pdb"
181182
WarningLevel="3"
182183
DebugInformationFormat="3"
183184
/>
@@ -244,6 +245,7 @@ sub createLibProject {
244245
RuntimeLibrary="0"
245246
EnableFunctionLevelLinking="true"
246247
UsePrecompiledHeader="0"
248+
ProgramDataBaseFileName="\$(IntDir)\\\$(TargetName).pdb"
247249
WarningLevel="3"
248250
DebugInformationFormat="3"
249251
/>
@@ -401,6 +403,7 @@ sub createAppProject {
401403
MinimalRebuild="true"
402404
RuntimeLibrary="1"
403405
UsePrecompiledHeader="0"
406+
ProgramDataBaseFileName="\$(IntDir)\\\$(TargetName).pdb"
404407
WarningLevel="3"
405408
DebugInformationFormat="3"
406409
/>
@@ -472,6 +475,7 @@ sub createAppProject {
472475
RuntimeLibrary="0"
473476
EnableFunctionLevelLinking="true"
474477
UsePrecompiledHeader="0"
478+
ProgramDataBaseFileName="\$(IntDir)\\\$(TargetName).pdb"
475479
WarningLevel="3"
476480
DebugInformationFormat="3"
477481
/>

0 commit comments

Comments
 (0)