[gdk-pixbuf] MSVC Builds: "Install" the .pdb Files
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf] MSVC Builds: "Install" the .pdb Files
- Date: Thu, 5 Mar 2015 12:41:29 +0000 (UTC)
commit e0d0a93da21d3acae03325f8b878119d69bdac9b
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Thu Mar 5 20:41:11 2015 +0800
MSVC Builds: "Install" the .pdb Files
"Install" the .pdb files for all tools and DLL that are built, so that it
would make it easier to debug builds, especially when developing the GTK+
stack or so, and we already generate the .pdb files for all builds.
Also be more selective on the files that we copy, to ensure that we only
copy the executables and DLLs and LIBs that are part of gdk-pixbuf, so that
we avoid copying items that are not meant to be copied or copy plugin DLLs
incorrectly when the projects are included from an all-in-one solution used
to build the entire GTK+ stack, for example.
build/win32/vs10/gdk-pixbuf-install.props | 24 +++++-------------------
build/win32/vs9/gdk-pixbuf-install.vsprops | 8 +++++---
2 files changed, 10 insertions(+), 22 deletions(-)
---
diff --git a/build/win32/vs10/gdk-pixbuf-install.props b/build/win32/vs10/gdk-pixbuf-install.props
index 54bddda..d8339a0 100644
--- a/build/win32/vs10/gdk-pixbuf-install.props
+++ b/build/win32/vs10/gdk-pixbuf-install.props
@@ -11,39 +11,25 @@
echo on
mkdir $(CopyDir)\bin
-
-copy $(BinDir)\*.dll $(CopyDir)\bin
-
-copy $(BinDir)\*.exe $(CopyDir)\bin
-
+copy $(BinDir)\$(GdkPixbufDllPrefix)gdk_pixbuf$(GdkPixbufDllSuffix).dll $(CopyDir)\bin
+copy $(BinDir)\$(GdkPixbufDllPrefix)gdk_pixbuf$(GdkPixbufDllSuffix).pdb $(CopyDir)\bin
+copy $(BinDir)\gdk-pixbuf-*.exe $(CopyDir)\bin
+copy $(BinDir)\gdk-pixbuf-*.pdb $(CopyDir)\bin
mkdir $(CopyDir)\lib
-
-copy $(BinDir)\*-$(ApiVersion).lib $(CopyDir)\lib
-
+copy $(BinDir)\gdk_pixbuf-$(ApiVersion).lib $(CopyDir)\lib
mkdir $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
-
copy ..\..\..\gdk-pixbuf\gdk-pixbuf-animation.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
-
copy ..\..\..\gdk-pixbuf\gdk-pixbuf-core.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
-
copy ..\..\..\gdk-pixbuf\gdk-pixbuf-enum-types.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
-
copy ..\..\..\gdk-pixbuf\gdk-pixbuf-features.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
-
copy ..\..\..\gdk-pixbuf\gdk-pixbuf-io.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
-
copy ..\..\..\gdk-pixbuf\gdk-pixbuf-loader.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
-
copy ..\..\..\gdk-pixbuf\gdk-pixbuf-marshal.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
-
copy ..\..\..\gdk-pixbuf\gdk-pixbuf-simple-anim.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
-
copy ..\..\..\gdk-pixbuf\gdk-pixbuf-transform.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
-
copy ..\..\..\gdk-pixbuf\gdk-pixbuf.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
-
copy ..\..\..\gdk-pixbuf\gdk-pixdata.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
</GdkPixbufDoInstall>
</PropertyGroup>
diff --git a/build/win32/vs9/gdk-pixbuf-install.vsprops b/build/win32/vs9/gdk-pixbuf-install.vsprops
index 58a7652..8b5e61f 100644
--- a/build/win32/vs9/gdk-pixbuf-install.vsprops
+++ b/build/win32/vs9/gdk-pixbuf-install.vsprops
@@ -9,11 +9,13 @@
Name="GdkPixbufDoInstall"
Value="
mkdir $(CopyDir)\bin

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

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

+copy $(ConfigurationName)\$(PlatformName)\bin\$(GdkPixbufDllPrefix)gdk_pixbuf$(GdkPixbufDllSuffix).dll
$(CopyDir)\bin

+copy $(ConfigurationName)\$(PlatformName)\bin\$(GdkPixbufDllPrefix)gdk_pixbuf$(GdkPixbufDllSuffix).pdb
$(CopyDir)\bin

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

+copy $(ConfigurationName)\$(PlatformName)\bin\gdk-pixbuf-*.pdb $(CopyDir)\bin

mkdir $(CopyDir)\lib

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

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

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

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

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