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

2 messages from 2009-10-05 to 2009-10-05. Participants: Sebastian Schuberth, Marius Storm-Olsen.
Thread: https://gitlist.dev/t/21131

## Sebastian Schuberth, 2009-10-05 09:54

Subject: [PATCH] Make the MSVC projects use PDB/IDB files named after the project
Message-ID: <hacfq0$g9k$1@ger.gmane.org>
URL: https://gitlist.dev/e/hacfq0%24g9k%241%40ger.gmane.org

```
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(-)

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, 2009-10-05 10:08

Subject: Re: [PATCH] Make the MSVC projects use PDB/IDB files named after the project
Message-ID: <4AC9C595.7040209@gmail.com>
URL: https://gitlist.dev/e/4AC9C595.7040209%40gmail.com
In-Reply-To: <hacfq0$g9k$1@ger.gmane.org>

```
Sebastian Schuberth said the following on 05.10.2009 11:54:
> 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

```
