diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2015-03-05 20:41:11 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2015-03-05 20:41:11 +0800 |
commit | e0d0a93da21d3acae03325f8b878119d69bdac9b (patch) | |
tree | e04055a8a442fc6df275f4cbe60a2db05855468b | |
parent | 097a0603ffe7e1bcbd8f8207554db62543bfc0ef (diff) | |
download | gdk-pixbuf-e0d0a93da21d3acae03325f8b878119d69bdac9b.tar.gz |
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.
-rw-r--r-- | build/win32/vs10/gdk-pixbuf-install.props | 24 | ||||
-rw-r--r-- | 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 54bddda5d..d8339a0d8 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 58a7652dc..8b5e61f4c 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
 |