threads / patch / 21131

patchMake the MSVC projects use PDB/IDB files named after the project

Subject: [PATCH] Make the MSVC projects use PDB/IDB files named after the project

## tl;dr

2 messages between Oct 5, 2009 and Oct 5, 2009. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Sebastian Schuberth· Oct 5, 2009, 09:54 UTC · lore

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>
---
 contrib/buildsystems/Generators/Vcproj.pm |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
Show changes to contrib/buildsystems/Generators/Vcproj.pm +4 −0
diff --git a/contrib/buildsystems/Generators/Vcproj.pm b/contrib/buildsystems/Generators/Vcproj.pm
index be94ba1..cfa74ad 100644
--- a/contrib/buildsystems/Generators/Vcproj.pm
+++ b/contrib/buildsystems/Generators/Vcproj.pm
@@ -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"
 			/>
-- 
1.6.5.rc2.13.g1be2
Marius Storm-Olsen· Oct 5, 2009, 10:08 UTC · re: Sebastian Schuberth · lore

Re: [PATCH] Make the MSVC projects use PDB/IDB files named after the project

Sebastian Schuberth said the following on 05.10.2009 11:54:
Show 5 quoted lines
> 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>

-- .marius

← back to recent threads