MSVC Builds: "Install" .pdb Files
authorChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 5 Mar 2015 10:04:40 +0000 (18:04 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 5 Mar 2015 10:04:40 +0000 (18:04 +0800)
"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.

build/win32/vs10/atk-install.propsin
build/win32/vs9/atk-install.vspropsin

index d7df041..546f713 100644 (file)
@@ -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
 
index 5bf3b73..0d1a105 100644 (file)
                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"