[cogl/cogl-1.20] MSVC Builds: "Install" the .pdb Files



commit 0809fbfe030a065fc4b4c1c4110e2b8e87256ffd
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Fri Mar 6 17:46:18 2015 +0800

    MSVC Builds: "Install" the .pdb Files
    
    "Install" the .pdb files with the built DLLs and examples, as the .pdb
    files are already generated for all builds, which are useful for debugging
    during Cogl development, or during development of Cogl-using items.
    
    Also be more selective on the LIBs, DLLs and EXEs that are copied, so that
    we only copy the items built during Cogl compilation when the project set
    is used in a grand solution, such as when building the entire Clutter
    stack, which will avoid items being incorrectly copied or extra and
    unneeded items being copied.

 build/win32/vs10/cogl-install.props  |   33 ++++++++++++++++++++++++---------
 build/win32/vs9/cogl-install.vsprops |   33 ++++++++++++++++++++++++---------
 2 files changed, 48 insertions(+), 18 deletions(-)
---
diff --git a/build/win32/vs10/cogl-install.props b/build/win32/vs10/cogl-install.props
index bf06c97..0116c0a 100644
--- a/build/win32/vs10/cogl-install.props
+++ b/build/win32/vs10/cogl-install.props
@@ -15,22 +15,37 @@ mkdir $(CopyDir)\lib
 if "$(Configuration)" == "Release_SDL" goto DO_REL_BIN
 if "$(Configuration)" == "Debug_SDL" goto DO_DBG_BIN
 
-copy $(BinDir)\*.dll $(CopyDir)\bin
-copy $(BinDir)\*-$(ApiVersion).lib $(CopyDir)\lib
-copy $(BinDir)\*.exe $(CopyDir)\bin
+copy $(BinDir)\$(CoglDllPrefix)cogl$(CoglDllSuffix).dll $(CopyDir)\bin
+copy $(BinDir)\$(CoglDllPrefix)cogl$(CoglDllSuffix).pdb $(CopyDir)\bin
+copy $(BinDir)\$(CoglDllPrefix)cogl-*$(CoglDllSuffix).dll $(CopyDir)\bin
+copy $(BinDir)\$(CoglDllPrefix)cogl-*$(CoglDllSuffix).pdb $(CopyDir)\bin
+copy $(BinDir)\cogl-$(ApiVersion).lib $(CopyDir)\lib
+copy $(BinDir)\cogl-*-$(ApiVersion).lib $(CopyDir)\lib
+copy $(BinDir)\cogl-*.exe $(CopyDir)\bin
+copy $(BinDir)\cogl-*.pdb $(CopyDir)\bin
 
 goto DONE_BIN
 
 :DO_REL_BIN
-copy Release\$(Platform)\bin\*.dll $(CopyDir)\bin
-copy Release\$(Platform)\bin\*-$(ApiVersion).lib $(CopyDir)\lib
-copy Release\$(Platform)\bin\*.exe $(CopyDir)\bin
+copy Release\$(Platform)\bin\$(CoglDllPrefix)cogl$(CoglDllSuffix).dll $(CopyDir)\bin
+copy Release\$(Platform)\bin\$(CoglDllPrefix)cogl$(CoglDllSuffix).pdb $(CopyDir)\bin
+copy Release\$(Platform)\bin\$(CoglDllPrefix)cogl-*$(CoglDllSuffix).dll $(CopyDir)\bin
+copy Release\$(Platform)\bin\$(CoglDllPrefix)cogl-*$(CoglDllSuffix).pdb $(CopyDir)\bin
+copy Release\$(Platform)\bin\cogl-$(ApiVersion).lib $(CopyDir)\lib
+copy Release\$(Platform)\bin\cogl-*-$(ApiVersion).lib $(CopyDir)\lib
+copy Release\$(Platform)\bin\cogl-*.exe $(CopyDir)\bin
+copy Release\$(Platform)\bin\cogl-*.pdb $(CopyDir)\bin
 goto DONE_BIN
 
 :DO_DBG_BIN
-copy Debug\$(Platform)\bin\*.dll $(CopyDir)\bin
-copy Debug\$(Platform)\bin\*-$(ApiVersion).lib $(CopyDir)\lib
-copy Debug\$(Platform)\bin\*.exe $(CopyDir)\bin
+copy Debug\$(Platform)\bin\$(CoglDllPrefix)cogl$(CoglDllSuffix).dll $(CopyDir)\bin
+copy Debug\$(Platform)\bin\$(CoglDllPrefix)cogl$(CoglDllSuffix).pdb $(CopyDir)\bin
+copy Debug\$(Platform)\bin\$(CoglDllPrefix)cogl-*$(CoglDllSuffix).dll $(CopyDir)\bin
+copy Debug\$(Platform)\bin\$(CoglDllPrefix)cogl-*$(CoglDllSuffix).pdb $(CopyDir)\bin
+copy Debug\$(Platform)\bin\cogl-$(ApiVersion).lib $(CopyDir)\lib
+copy Debug\$(Platform)\bin\cogl-*-$(ApiVersion).lib $(CopyDir)\lib
+copy Debug\$(Platform)\bin\cogl-*.exe $(CopyDir)\bin
+copy Debug\$(Platform)\bin\cogl-*.pdb $(CopyDir)\bin
 goto DONE_BIN
 
 :DONE_BIN
diff --git a/build/win32/vs9/cogl-install.vsprops b/build/win32/vs9/cogl-install.vsprops
index 292eb9b..954ebdc 100644
--- a/build/win32/vs9/cogl-install.vsprops
+++ b/build/win32/vs9/cogl-install.vsprops
@@ -14,21 +14,36 @@ mkdir $(CopyDir)\lib&#x0D;&#x0A;
 if &quot;$(ConfigurationName)&quot; == &quot;Release_SDL&quot; goto DO_REL_BIN&#x0D;&#x0A;
 if &quot;$(ConfigurationName)&quot; == &quot;Debug_SDL&quot; goto DO_DBG_BIN&#x0D;&#x0A;
 
-copy $(ConfigurationName)\$(PlatformName)\bin\*.dll $(CopyDir)\bin&#x0D;&#x0A;
-copy $(ConfigurationName)\$(PlatformName)\bin\*-$(ApiVersion).lib $(CopyDir)\lib&#x0D;&#x0A;
-copy $(ConfigurationName)\$(PlatformName)\bin\*.exe $(CopyDir)\bin&#x0D;&#x0A;
+copy $(ConfigurationName)\$(PlatformName)\bin\$(CoglDllPrefix)cogl$(CoglDllSuffix).dll 
$(CopyDir)\bin&#x0D;&#x0A;
+copy $(ConfigurationName)\$(PlatformName)\bin\$(CoglDllPrefix)cogl$(CoglDllSuffix).pdb 
$(CopyDir)\bin&#x0D;&#x0A;
+copy $(ConfigurationName)\$(PlatformName)\bin\$(CoglDllPrefix)cogl-*$(CoglDllSuffix).dll 
$(CopyDir)\bin&#x0D;&#x0A;
+copy $(ConfigurationName)\$(PlatformName)\bin\$(CoglDllPrefix)cogl-*$(CoglDllSuffix).pdb 
$(CopyDir)\bin&#x0D;&#x0A;
+copy $(ConfigurationName)\$(PlatformName)\bin\cogl-$(ApiVersion).lib $(CopyDir)\lib&#x0D;&#x0A;
+copy $(ConfigurationName)\$(PlatformName)\bin\cogl-*-$(ApiVersion).lib $(CopyDir)\lib&#x0D;&#x0A;
+copy $(ConfigurationName)\$(PlatformName)\bin\cogl-*.exe $(CopyDir)\bin&#x0D;&#x0A;
+copy $(ConfigurationName)\$(PlatformName)\bin\cogl-*.pdb $(CopyDir)\bin&#x0D;&#x0A;
 goto DONE_BIN&#x0D;&#x0A;
 
 :DO_REL_BIN&#x0D;&#x0A;
-copy Release\$(PlatformName)\bin\*.dll $(CopyDir)\bin&#x0D;&#x0A;
-copy Release\$(PlatformName)\bin\*-$(ApiVersion).lib $(CopyDir)\lib&#x0D;&#x0A;
-copy Release\$(PlatformName)\bin\*.exe $(CopyDir)\bin&#x0D;&#x0A;
+copy Release\$(PlatformName)\bin\$(CoglDllPrefix)cogl$(CoglDllSuffix).dll $(CopyDir)\bin&#x0D;&#x0A;
+copy Release\$(PlatformName)\bin\$(CoglDllPrefix)cogl$(CoglDllSuffix).pdb $(CopyDir)\bin&#x0D;&#x0A;
+copy Release\$(PlatformName)\bin\$(CoglDllPrefix)cogl-*$(CoglDllSuffix).dll $(CopyDir)\bin&#x0D;&#x0A;
+copy Release\$(PlatformName)\bin\$(CoglDllPrefix)cogl-*$(CoglDllSuffix).pdb $(CopyDir)\bin&#x0D;&#x0A;
+copy Release\$(PlatformName)\bin\cogl-$(ApiVersion).lib $(CopyDir)\lib&#x0D;&#x0A;
+copy Release\$(PlatformName)\bin\cogl-*-$(ApiVersion).lib $(CopyDir)\lib&#x0D;&#x0A;
+copy Release\$(PlatformName)\bin\cogl-*.exe $(CopyDir)\bin&#x0D;&#x0A;
+copy Release\$(PlatformName)\bin\cogl-*.pdb $(CopyDir)\bin&#x0D;&#x0A;
 goto DONE_BIN&#x0D;&#x0A;
 
 :DO_DBG_BIN&#x0D;&#x0A;
-copy Debug\$(PlatformName)\bin\*.dll $(CopyDir)\bin&#x0D;&#x0A;
-copy Debug\$(PlatformName)\bin\*-$(ApiVersion).lib $(CopyDir)\lib&#x0D;&#x0A;
-copy Debug\$(PlatformName)\bin\*.exe $(CopyDir)\bin&#x0D;&#x0A;
+copy Debug\$(PlatformName)\bin\$(CoglDllPrefix)cogl$(CoglDllSuffix).dll $(CopyDir)\bin&#x0D;&#x0A;
+copy Debug\$(PlatformName)\bin\$(CoglDllPrefix)cogl$(CoglDllSuffix).pdb $(CopyDir)\bin&#x0D;&#x0A;
+copy Debug\$(PlatformName)\bin\$(CoglDllPrefix)cogl-*$(CoglDllSuffix).dll $(CopyDir)\bin&#x0D;&#x0A;
+copy Debug\$(PlatformName)\bin\$(CoglDllPrefix)cogl-*$(CoglDllSuffix).pdb $(CopyDir)\bin&#x0D;&#x0A;
+copy Debug\$(PlatformName)\bin\cogl-$(ApiVersion).lib $(CopyDir)\lib&#x0D;&#x0A;
+copy Debug\$(PlatformName)\bin\cogl-*-$(ApiVersion).lib $(CopyDir)\lib&#x0D;&#x0A;
+copy Debug\$(PlatformName)\bin\cogl-*.exe $(CopyDir)\bin&#x0D;&#x0A;
+copy Debug\$(PlatformName)\bin\cogl-*.pdb $(CopyDir)\bin&#x0D;&#x0A;
 goto DONE_BIN&#x0D;&#x0A;
 
 :DONE_BIN&#x0D;&#x0A;


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