From 12010882e621a1c699b7be403b2b56369917530d Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Fri, 14 Dec 2012 11:08:07 +0800 Subject: [PATCH] Fix Visual C++ 2008 "install" process Like the Visual Studio 2010 builds, the install project needs to be split into two, one for the WGL-only configs and another for the WGL+SDL configs, so that the Cogl and Cogl-Pango DLLs and LIBs can be correctly copied during the "install" stage, as the resulting DLLs for all configs land in {Release|Debug}\{Win32|x64}\bin. --- build/win32/vs9/Makefile.am | 1 + build/win32/vs9/cogl_sdl.sln | 18 +-- build/win32/vs9/install.vcproj | 223 +++++++++++------------------ build/win32/vs9/install_sdl.vcproj | 91 ++++++++++++ 4 files changed, 181 insertions(+), 152 deletions(-) create mode 100644 build/win32/vs9/install_sdl.vcproj diff --git a/build/win32/vs9/Makefile.am b/build/win32/vs9/Makefile.am index 56296cfc3..96b0a06ee 100644 --- a/build/win32/vs9/Makefile.am +++ b/build/win32/vs9/Makefile.am @@ -14,4 +14,5 @@ EXTRA_DIST = \ cogl-msaa.vcproj \ cogl-info.vcproj \ install.vcproj \ + install_sdl.vcproj \ README.txt diff --git a/build/win32/vs9/cogl_sdl.sln b/build/win32/vs9/cogl_sdl.sln index 8b63b791c..e9bf176c8 100644 --- a/build/win32/vs9/cogl_sdl.sln +++ b/build/win32/vs9/cogl_sdl.sln @@ -40,7 +40,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test-conformance-cogl", "te {FE5ABD0F-91E8-4AA5-9C1C-408427D5F768} = {FE5ABD0F-91E8-4AA5-9C1C-408427D5F768} EndProjectSection EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "install", "install.vcproj", "{35B2A4AC-7235-4FC7-995D-469D59195041}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "install_sdl", "install_sdl.vcproj", "{35B2A4AC-7235-4FC7-995D-469D59195041}" ProjectSection(ProjectDependencies) = postProject {FE5ABD0F-91E8-4AA5-9C1C-408427D5F768} = {FE5ABD0F-91E8-4AA5-9C1C-408427D5F768} {F5A43C12-7032-428E-A56A-D294075FA493} = {F5A43C12-7032-428E-A56A-D294075FA493} @@ -124,14 +124,14 @@ Global {0F08F253-DE1A-40CB-A890-93AE3CA23ADE}.Release|Win32.Build.0 = Release|Win32 {0F08F253-DE1A-40CB-A890-93AE3CA23ADE}.Release|x64.ActiveCfg = Release|x64 {0F08F253-DE1A-40CB-A890-93AE3CA23ADE}.Release|x64.Build.0 = Release|x64 - {35B2A4AC-7235-4FC7-995D-469D59195041}.Debug|Win32.ActiveCfg = Debug_SDL|Win32 - {35B2A4AC-7235-4FC7-995D-469D59195041}.Debug|Win32.Build.0 = Debug_SDL|Win32 - {35B2A4AC-7235-4FC7-995D-469D59195041}.Debug|x64.ActiveCfg = Debug_SDL|x64 - {35B2A4AC-7235-4FC7-995D-469D59195041}.Debug|x64.Build.0 = Debug_SDL|x64 - {35B2A4AC-7235-4FC7-995D-469D59195041}.Release|Win32.ActiveCfg = Release_SDL|Win32 - {35B2A4AC-7235-4FC7-995D-469D59195041}.Release|Win32.Build.0 = Release_SDL|Win32 - {35B2A4AC-7235-4FC7-995D-469D59195041}.Release|x64.ActiveCfg = Release_SDL|x64 - {35B2A4AC-7235-4FC7-995D-469D59195041}.Release|x64.Build.0 = Release_SDL|x64 + {35B2A4AC-7235-4FC7-995D-469D59195041}.Debug|Win32.ActiveCfg = Debug|Win32 + {35B2A4AC-7235-4FC7-995D-469D59195041}.Debug|Win32.Build.0 = Debug|Win32 + {35B2A4AC-7235-4FC7-995D-469D59195041}.Debug|x64.ActiveCfg = Debug|x64 + {35B2A4AC-7235-4FC7-995D-469D59195041}.Debug|x64.Build.0 = Debug|x64 + {35B2A4AC-7235-4FC7-995D-469D59195041}.Release|Win32.ActiveCfg = Release|Win32 + {35B2A4AC-7235-4FC7-995D-469D59195041}.Release|Win32.Build.0 = Release|Win32 + {35B2A4AC-7235-4FC7-995D-469D59195041}.Release|x64.ActiveCfg = Release|x64 + {35B2A4AC-7235-4FC7-995D-469D59195041}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/build/win32/vs9/install.vcproj b/build/win32/vs9/install.vcproj index ef328d1a0..e5c298665 100644 --- a/build/win32/vs9/install.vcproj +++ b/build/win32/vs9/install.vcproj @@ -1,143 +1,80 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/win32/vs9/install_sdl.vcproj b/build/win32/vs9/install_sdl.vcproj new file mode 100644 index 000000000..acbcc1d27 --- /dev/null +++ b/build/win32/vs9/install_sdl.vcproj @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +