summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2015-03-05 18:04:40 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2015-03-05 18:04:40 +0800
commitc2a4756535188cb7fe46df289dfa147c4d3cf626 (patch)
tree82b0a10f739cd2c664de6d1569570f4eecd11d7f
parent6d7e19a39a3f0c7bdbefee4d216e5c55cbedbb97 (diff)
downloadatk-c2a4756535188cb7fe46df289dfa147c4d3cf626.tar.gz
MSVC Builds: "Install" .pdb Files
"Install" the .pdb files for Visual Studio builds, to make debugging builds easier, especially when debugging the GTK+ stack. Also make the "installation" of .lib and .dll files more selective so that we won't accidently copy DLLs and LIBs that are either not meant to be copied or have other specific places that they need to go, when the project files here are included as part of a grand solution file, such as one that is used to build the whole GTK+ stack from scratch.
-rw-r--r--build/win32/vs10/atk-install.propsin8
-rw-r--r--build/win32/vs9/atk-install.vspropsin5
2 files changed, 6 insertions, 7 deletions
diff --git a/build/win32/vs10/atk-install.propsin b/build/win32/vs10/atk-install.propsin
index d7df041..546f713 100644
--- a/build/win32/vs10/atk-install.propsin
+++ b/build/win32/vs10/atk-install.propsin
@@ -9,13 +9,11 @@
<AtkDoInstall>
mkdir $(CopyDir)\bin
-copy $(BinDir)\*.dll $(CopyDir)\bin
-
+copy $(BinDir)\$(AtkDllPrefix)atk$(AtkDllSuffix).dll $(CopyDir)\bin
+copy $(BinDir)\$(AtkDllPrefix)atk$(AtkDllSuffix).pdb $(CopyDir)\bin
mkdir $(CopyDir)\lib
-
-copy $(BinDir)\*-$(ApiVersion).lib $(CopyDir)\lib
-
+copy $(BinDir)\atk-$(ApiVersion).lib $(CopyDir)\lib
mkdir $(CopyDir)\include\atk-$(ApiVersion)\atk
diff --git a/build/win32/vs9/atk-install.vspropsin b/build/win32/vs9/atk-install.vspropsin
index 5bf3b73..0d1a105 100644
--- a/build/win32/vs9/atk-install.vspropsin
+++ b/build/win32/vs9/atk-install.vspropsin
@@ -10,10 +10,11 @@
Value="
mkdir $(CopyDir)&#x0D;&#x0A;
mkdir $(CopyDir)\bin&#x0D;&#x0A;
-copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\*.dll $(CopyDir)\bin&#x0D;&#x0A;
+copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\$(AtkDllPrefix)atk$(AtkDllSuffix).dll $(CopyDir)\bin&#x0D;&#x0A;
+copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\$(AtkDllPrefix)atk$(AtkDllSuffix).pdb $(CopyDir)\bin&#x0D;&#x0A;
mkdir $(CopyDir)\lib&#x0D;&#x0A;
-copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\*-$(ApiVersion).lib $(CopyDir)\lib&#x0D;&#x0A;
+copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\atk-$(ApiVersion).lib $(CopyDir)\lib&#x0D;&#x0A;
mkdir $(CopyDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
#include "atk.vs9instfiles"