[gtk+/gtk-2-24] MSVC Builds: "Install" the .pdb Files
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] MSVC Builds: "Install" the .pdb Files
- Date: Fri, 6 Mar 2015 07:22:06 +0000 (UTC)
commit bf92167b01ddebf4eb9ff499721fce6d6a5f8020
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Fri Mar 6 15:21:52 2015 +0800
MSVC Builds: "Install" the .pdb Files
"Install" the .pdb files to help people use them to debug the GTK+ stack,
or for their GTK-using applications, as they are already generated for all
builds.
Also update the copying of the DLLs, LIBs and EXEs so that we ensure that
we only copy the items from GTK+-2.x, without accidently copying items that
are not meant to be copied, or make extra copies of items in the wrong
places, such as when the projects here are used in parts of grand solutions
used to build the entire GTK+ stack.
build/win32/vs10/gtk-install.props | 16 +++++++++++-----
build/win32/vs9/gtk-install.vsprops | 16 +++++++++++-----
2 files changed, 22 insertions(+), 10 deletions(-)
---
diff --git a/build/win32/vs10/gtk-install.props b/build/win32/vs10/gtk-install.props
index 6babe04..2e9eda2 100644
--- a/build/win32/vs10/gtk-install.props
+++ b/build/win32/vs10/gtk-install.props
@@ -9,11 +9,19 @@
<InstalledBins>$(BinDir)\gtk-demo.exe</InstalledBins>
<GtkDoInstall>
mkdir $(CopyDir)\bin
-copy "$(BinDir)\*-vs$(VSVer).dll" $(CopyDir)\bin
-copy "$(BinDir)\*.exe" $(CopyDir)\bin
+copy "$(BinDir)\$(GtkDllPrefix)gdk-win32$(GtkDllSuffix).dll" $(CopyDir)\bin
+copy "$(BinDir)\$(GtkDllPrefix)gdk-win32$(GtkDllSuffix).pdb" $(CopyDir)\bin
+copy "$(BinDir)\$(GtkDllPrefix)gtk-win32$(GtkDllSuffix).dll" $(CopyDir)\bin
+copy "$(BinDir)\$(GtkDllPrefix)gtk-win32$(GtkDllSuffix).pdb" $(CopyDir)\bin
+copy "$(BinDir)\$(GtkDllPrefix)gailutil$(GtkDllSuffix).dll" $(CopyDir)\bin
+copy "$(BinDir)\$(GtkDllPrefix)gailutil$(GtkDllSuffix).pdb" $(CopyDir)\bin
+copy "$(BinDir)\gtk-demo.exe" $(CopyDir)\bin
+copy "$(BinDir)\gtk-demo.pdb" $(CopyDir)\bin
mkdir $(CopyDir)\lib
-copy "$(BinDir)\*-$(ApiVersion).lib" $(CopyDir)\lib
+copy "$(BinDir)\gdk-win32-$(ApiVersion).lib" $(CopyDir)\lib
+copy "$(BinDir)\gtk-win32-$(ApiVersion).lib" $(CopyDir)\lib
+copy "$(BinDir)\gailutil-$(ApiVersion).lib" $(CopyDir)\lib
mkdir $(CopyDir)\include\gtk-$(ApiVersion)\gdk
copy ..\..\..\gdk\gdk.h $(CopyDir)\include\gtk-$(ApiVersion)\gdk
@@ -275,8 +283,6 @@ copy ..\..\..\modules\other\gail\libgail-util\gailmisc.h $(CopyDir)\include\gail
copy ..\..\..\modules\other\gail\libgail-util\gailtextutil.h $(CopyDir)\include\gail-1.0\libgail-util
copy ..\..\..\modules\other\gail\libgail-util\gail-util.h $(CopyDir)\include\gail-1.0\libgail-util
-copy "$(BinDir)\*-$(ApiVersion).lib" $(CopyDir)\lib
-
mkdir $(CopyDir)\lib\gtk-$(ApiVersion)\$(GtkHost)\engines
copy "$(BinDir)\libwimp.dll" $(CopyDir)\lib\gtk-$(ApiVersion)\$(GtkHost)\engines
diff --git a/build/win32/vs9/gtk-install.vsprops b/build/win32/vs9/gtk-install.vsprops
index 6fb83b7..80ca53e 100644
--- a/build/win32/vs9/gtk-install.vsprops
+++ b/build/win32/vs9/gtk-install.vsprops
@@ -9,11 +9,19 @@
Name="GtkDoInstall"
Value="
mkdir $(CopyDir)\bin

-copy $(ConfigurationName)\$(PlatformName)\bin\*-vs$(VSVer).dll $(CopyDir)\bin

-copy $(ConfigurationName)\$(PlatformName)\bin\*.exe $(CopyDir)\bin

+copy $(ConfigurationName)\$(PlatformName)\bin\$(GtkDllPrefix)gdk-win32$(GtkDllSuffix).dll
$(CopyDir)\bin

+copy $(ConfigurationName)\$(PlatformName)\bin\$(GtkDllPrefix)gdk-win32$(GtkDllSuffix).pdb
$(CopyDir)\bin

+copy $(ConfigurationName)\$(PlatformName)\bin\$(GtkDllPrefix)gtk-win32$(GtkDllSuffix).dll
$(CopyDir)\bin

+copy $(ConfigurationName)\$(PlatformName)\bin\$(GtkDllPrefix)gtk-win32$(GtkDllSuffix).pdb
$(CopyDir)\bin

+copy $(ConfigurationName)\$(PlatformName)\bin\$(GtkDllPrefix)gailutil$(GtkDllSuffix).dll
$(CopyDir)\bin

+copy $(ConfigurationName)\$(PlatformName)\bin\$(GtkDllPrefix)gailutil$(GtkDllSuffix).pdb
$(CopyDir)\bin

+copy $(ConfigurationName)\$(PlatformName)\bin\gtk-demo.exe $(CopyDir)\bin

+copy $(ConfigurationName)\$(PlatformName)\bin\gtk-demo.pdb $(CopyDir)\bin

mkdir $(CopyDir)\lib

-copy $(ConfigurationName)\$(PlatformName)\bin\*-$(ApiVersion).lib $(CopyDir)\lib

+copy $(ConfigurationName)\$(PlatformName)\bin\gdk-win32-$(ApiVersion).lib $(CopyDir)\lib

+copy $(ConfigurationName)\$(PlatformName)\bin\gtk-win32-$(ApiVersion).lib $(CopyDir)\lib

+copy $(ConfigurationName)\$(PlatformName)\bin\gailutil-$(ApiVersion).lib $(CopyDir)\lib

mkdir $(CopyDir)\include\gtk-$(ApiVersion)\gdk

copy ..\..\..\gdk\gdk.h $(CopyDir)\include\gtk-$(ApiVersion)\gdk

@@ -275,8 +283,6 @@ copy ..\..\..\modules\other\gail\libgail-util\gailmisc.h $(CopyDir)\include\gail
copy ..\..\..\modules\other\gail\libgail-util\gailtextutil.h
$(CopyDir)\include\gail-1.0\libgail-util

copy ..\..\..\modules\other\gail\libgail-util\gail-util.h
$(CopyDir)\include\gail-1.0\libgail-util

-copy $(ConfigurationName)\$(PlatformName)\bin\*-$(ApiVersion).lib $(CopyDir)\lib

-
mkdir $(Outdir)\lib\gtk-$(ApiVersion)\$(GtkHost)\engines

copy $(ConfigurationName)\$(PlatformName)\bin\libwimp.dll
$(Outdir)\lib\gtk-$(ApiVersion)\$(GtkHost)\engines

[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]