From 4b1b912b452ac972b414d9b91980fda8c2349cc3 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Fri, 6 Mar 2015 17:39:17 +0800 Subject: [PATCH] MSVC 2010 Builds: Fix .pdb File Generation To make the .pdb filename match the filename of the built target, one must specify the .pdb file name if the target filename does not match the project name for Visual Studio 2010 and later. Update the projects accordingly. --- build/win32/vs10/cogl-pango.vcxprojin | 4 ++++ build/win32/vs10/cogl-path.vcxprojin | 4 ++++ build/win32/vs10/cogl.vcxprojin | 8 ++++++++ 3 files changed, 16 insertions(+) diff --git a/build/win32/vs10/cogl-pango.vcxprojin b/build/win32/vs10/cogl-pango.vcxprojin index 4c48b4d52..1b66bf0d7 100644 --- a/build/win32/vs10/cogl-pango.vcxprojin +++ b/build/win32/vs10/cogl-pango.vcxprojin @@ -92,6 +92,7 @@ $(IntDir)\cogl-pango.def $(TargetDir)$(ProjectName)-$(ApiVersion).lib true + $(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).pdb Windows MachineX86 @@ -117,6 +118,7 @@ $(IntDir)\cogl-pango.def $(TargetDir)$(ProjectName)-$(ApiVersion).lib true + $(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).pdb Windows MachineX64 @@ -142,6 +144,7 @@ $(IntDir)\cogl-pango.def $(TargetDir)$(ProjectName)-$(ApiVersion).lib true + $(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).pdb Windows true true @@ -166,6 +169,7 @@ $(IntDir)\cogl-pango.def $(TargetDir)$(ProjectName)-$(ApiVersion).lib true + $(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).pdb Windows true true diff --git a/build/win32/vs10/cogl-path.vcxprojin b/build/win32/vs10/cogl-path.vcxprojin index cb0aeab6c..aeb8c2e2f 100644 --- a/build/win32/vs10/cogl-path.vcxprojin +++ b/build/win32/vs10/cogl-path.vcxprojin @@ -87,6 +87,7 @@ $(IntDir)\$(ProjectName).def $(TargetDir)$(ProjectName)-$(ApiVersion).lib true + $(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).pdb Windows MachineX86 @@ -113,6 +114,7 @@ $(IntDir)\$(ProjectName).def $(TargetDir)$(ProjectName)-$(ApiVersion).lib true + $(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).pdb Windows MachineX64 @@ -139,6 +141,7 @@ $(IntDir)\$(ProjectName).def $(TargetDir)$(ProjectName)-$(ApiVersion).lib true + $(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).pdb Windows true true @@ -164,6 +167,7 @@ $(IntDir)\$(ProjectName).def $(TargetDir)$(ProjectName)-$(ApiVersion).lib true + $(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).pdb Windows true true diff --git a/build/win32/vs10/cogl.vcxprojin b/build/win32/vs10/cogl.vcxprojin index 02478adc8..a9fdfe07b 100644 --- a/build/win32/vs10/cogl.vcxprojin +++ b/build/win32/vs10/cogl.vcxprojin @@ -154,6 +154,7 @@ $(IntDir)\cogl.def $(TargetDir)$(ProjectName)-$(ApiVersion).lib true + $(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).pdb Windows MachineX86 @@ -180,6 +181,7 @@ $(IntDir)\cogl.def $(TargetDir)$(ProjectName)-$(ApiVersion).lib true + $(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).pdb Windows MachineX86 @@ -206,6 +208,7 @@ $(IntDir)\cogl.def $(TargetDir)$(ProjectName)-$(ApiVersion).lib true + $(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).pdb Windows MachineX64 @@ -232,6 +235,7 @@ $(IntDir)\cogl.def $(TargetDir)$(ProjectName)-$(ApiVersion).lib true + $(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).pdb Windows MachineX64 @@ -258,6 +262,7 @@ $(IntDir)\cogl.def $(TargetDir)$(ProjectName)-$(ApiVersion).lib true + $(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).pdb Windows true true @@ -286,6 +291,7 @@ $(IntDir)\cogl.def $(TargetDir)$(ProjectName)-$(ApiVersion).lib true + $(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).pdb Windows true true @@ -311,6 +317,7 @@ $(IntDir)\cogl.def $(TargetDir)$(ProjectName)-$(ApiVersion).lib true + $(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).pdb Windows true true @@ -336,6 +343,7 @@ $(IntDir)\cogl.def $(TargetDir)$(ProjectName)-$(ApiVersion).lib true + $(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).pdb Windows true true