From 413862e49ea79c868b234872b9a12e7878899ead Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Mon, 14 May 2012 12:56:52 +0800 Subject: [PATCH] Visual C++ projects Update Update SDL build configs as there are now SDL-specific public APIs and new SDL sources. (cherry picked from commit 006f9f7c44136fc8524649fb790da7f19cd0dc4d) --- build/win32/vs10/cogl.props | 11 ++++++++++- build/win32/vs10/cogl.vcxproj.filtersin | 5 +++-- build/win32/vs10/cogl.vcxprojin | 14 ++++++++++---- build/win32/vs9/cogl.vcprojin | 14 ++++++++++---- build/win32/vs9/cogl.vsprops | 7 +++++++ 5 files changed, 40 insertions(+), 11 deletions(-) diff --git a/build/win32/vs10/cogl.props b/build/win32/vs10/cogl.props index 9497f2776..981f5487d 100644 --- a/build/win32/vs10/cogl.props +++ b/build/win32/vs10/cogl.props @@ -195,6 +195,12 @@ copy ..\..\..\cogl\cogl2-compatibility.h $(CopyDir)\include\cogl-$(CoglApiVersio cl -EP -D_COGL_SUPPORTS_GTYPE_INTEGRATION -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT ..\..\..\cogl\cogl.symbols >> ..\..\..\cogl\cogl.def + + + echo EXPORTS > ..\..\..\cogl\cogl.def + + cl -EP -D_COGL_SUPPORTS_GTYPE_INTEGRATION -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT -DCOGL_HAS_SDL_SUPPORT ..\..\..\cogl\cogl.symbols >> ..\..\..\cogl\cogl.def + echo EXPORTS > ..\..\..\cogl-pango\cogl-pango.def @@ -272,6 +278,9 @@ copy ..\..\..\cogl\cogl2-compatibility.h $(CopyDir)\include\cogl-$(CoglApiVersio $(GenerateCoglDef) + + $(GenerateCoglDef) + $(GenerateCoglPangoDef) @@ -294,4 +303,4 @@ copy ..\..\..\cogl\cogl2-compatibility.h $(CopyDir)\include\cogl-$(CoglApiVersio $(CoglDllSuffix) - \ No newline at end of file + diff --git a/build/win32/vs10/cogl.vcxproj.filtersin b/build/win32/vs10/cogl.vcxproj.filtersin index cb77de19f..3541a7f91 100644 --- a/build/win32/vs10/cogl.vcxproj.filtersin +++ b/build/win32/vs10/cogl.vcxproj.filtersin @@ -15,8 +15,9 @@ Sources - Sources - Sources + Sources + Sources + Sources #include "cogl.vs10.sourcefiles.filters" Sources\Driver_GL Sources\Driver_GL diff --git a/build/win32/vs10/cogl.vcxprojin b/build/win32/vs10/cogl.vcxprojin index 0ead8549b..a541d617b 100644 --- a/build/win32/vs10/cogl.vcxprojin +++ b/build/win32/vs10/cogl.vcxprojin @@ -176,7 +176,7 @@ EditAndContinue - $(GenerateCoglDef) + $(GenerateCoglSDLDef) SDL.lib;opengl32.lib;intl.lib;cairo.lib;gdk_pixbuf-2.0.lib;gmodule-2.0.lib;%(AdditionalDependencies) @@ -240,7 +240,7 @@ ProgramDatabase - $(GenerateCoglDef) + $(GenerateCoglSDLDef) SDL.lib;opengl32.lib;intl.lib;cairo.lib;gdk_pixbuf-2.0.lib;gmodule-2.0.lib;%(AdditionalDependencies) @@ -306,7 +306,7 @@ ProgramDatabase - $(GenerateCoglDef) + $(GenerateCoglSDLDef) SDL.lib;opengl32.lib;intl.lib;cairo.lib;gdk_pixbuf-2.0.lib;gmodule-2.0.lib;%(AdditionalDependencies) @@ -368,7 +368,7 @@ ProgramDatabase - $(GenerateCoglDef) + $(GenerateCoglSDLDef) SDL.lib;opengl32.lib;intl.lib;cairo.lib;gdk_pixbuf-2.0.lib;gmodule-2.0.lib;%(AdditionalDependencies) @@ -390,6 +390,12 @@ true true + + true + true + true + true + #include "cogl.vs10.sourcefiles" diff --git a/build/win32/vs9/cogl.vcprojin b/build/win32/vs9/cogl.vcprojin index 8a8cb8271..e924f7024 100644 --- a/build/win32/vs9/cogl.vcprojin +++ b/build/win32/vs9/cogl.vcprojin @@ -88,7 +88,7 @@ $(PreBuildCmd) /> + + + + + + #include "cogl.sourcefiles" diff --git a/build/win32/vs9/cogl.vsprops b/build/win32/vs9/cogl.vsprops index ef4de04f5..bc6aa6329 100644 --- a/build/win32/vs9/cogl.vsprops +++ b/build/win32/vs9/cogl.vsprops @@ -185,6 +185,13 @@ copy ..\..\..\tests\data\valgrind.suppressions $(OutDir)\share\cogl-$(CoglApiVer cl -EP -D_COGL_SUPPORTS_GTYPE_INTEGRATION -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT ..\..\..\cogl\cogl.symbols >> ..\..\..\cogl\cogl.def " /> +