[clutter/msvc-support] Update VS Projects for CLUTTER_ENABLE_EXPERIMENTAL_API



commit 78352c50d37a5dd646b23ea9190300117d9b580b
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Thu Aug 25 14:00:40 2011 +0800

    Update VS Projects for CLUTTER_ENABLE_EXPERIMENTAL_API
    
    -Add new symbol introduced in commit 2f1885565949dbd
     (Adds experimental clutter_backend_get_cogl_context API)
    -Make VS builds build this experimental API into the DLL/LIB

 build/win32/vs10/clutter.props  |    4 ++--
 build/win32/vs9/clutter.vsprops |    4 ++--
 clutter/clutter.symbols         |    4 ++++
 3 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/build/win32/vs10/clutter.props b/build/win32/vs10/clutter.props
index dce0310..1c55ae1 100644
--- a/build/win32/vs10/clutter.props
+++ b/build/win32/vs10/clutter.props
@@ -6,7 +6,7 @@
     <CopyDir>$(GlibEtcInstallRoot)</CopyDir>
     <BaseWinBuildDef>_WIN32_WINNT=0x0500</BaseWinBuildDef>
     <BaseBuildDef>$(BaseWinBuildDef);CLUTTER_DISABLE_DEPRECATED;COGL_DISABLE_DEPRECATED</BaseBuildDef>
-    <LibBuildDefines>HAVE_CONFIG_H;CLUTTER_COMPILATION;COGL_ENABLE_EXPERIMENTAL_API;COGL_HAS_WIN32_SUPPORT</LibBuildDefines>
+    <LibBuildDefines>HAVE_CONFIG_H;CLUTTER_COMPILATION;COGL_ENABLE_EXPERIMENTAL_API;COGL_HAS_WIN32_SUPPORT;CLUTTER_ENABLE_EXPERIMENTAL_API</LibBuildDefines>
     <DebugLibBuildDefines>$(LibBuildDefines);_DEBUG;CLUTTER_ENABLE_DEBUG</DebugLibBuildDefines>
     <ReleaseLibBuildDefines>$(LibBuildDefines);G_DISABLE_ASSERT;G_DISABLE_CHECKS;G_DISABLE_CAST_CHECKS</ReleaseLibBuildDefines>
     <ClutterBuildDefines>$(BaseBuildDef);G_LOG_DOMAIN="Clutter";CLUTTER_PREFIX="../";CLUTTER_LIBDIR="../lib";CLUTTER_DATADIR="../share";CLUTTER_LOCALEDIR="../share/locale"</ClutterBuildDefines>
@@ -317,7 +317,7 @@ copy ..\..\..\clutter\cally\cally-util.h $(CopyDir)\include\clutter-$(ClutterApi
     <GenerateClutterDef>
          echo EXPORTS &gt; ..\..\..\clutter\clutter.def
 
-         cl -EP -DHAVE_CAIRO -DHAVE_CLUTTER_WIN32 ..\..\..\clutter\clutter.symbols &gt;&gt; ..\..\..\clutter\clutter.def
+         cl -EP -DHAVE_CAIRO -DHAVE_CLUTTER_WIN32 -DCLUTTER_ENABLE_EXPERIMENTAL_API ..\..\..\clutter\clutter.symbols &gt;&gt; ..\..\..\clutter\clutter.def
 
      </GenerateClutterDef>
     <ClutterLibtoolCompatibleDllPrefix>lib</ClutterLibtoolCompatibleDllPrefix>
diff --git a/build/win32/vs9/clutter.vsprops b/build/win32/vs9/clutter.vsprops
index 6ccc687..0897bb1 100644
--- a/build/win32/vs9/clutter.vsprops
+++ b/build/win32/vs9/clutter.vsprops
@@ -36,7 +36,7 @@
 	/>
 	<UserMacro
 		Name="LibBuildDefines"
-		Value="HAVE_CONFIG_H;CLUTTER_COMPILATION;COGL_ENABLE_EXPERIMENTAL_API;COGL_HAS_WIN32_SUPPORT"
+		Value="HAVE_CONFIG_H;CLUTTER_COMPILATION;COGL_ENABLE_EXPERIMENTAL_API;COGL_HAS_WIN32_SUPPORT;CLUTTER_ENABLE_EXPERIMENTAL_API"
 	/>
 	<UserMacro
 		Name="DebugLibBuildDefines"
@@ -227,7 +227,7 @@ copy ..\..\..\clutter\cally\cally-util.h $(OutDir)\include\clutter-$(ClutterApiV
 		Name="GenerateClutterDef"
 		Value="
 		       echo EXPORTS &gt; ..\..\..\clutter\clutter.def&#x0D;&#x0A;
-			   cl -EP -DHAVE_CAIRO -DHAVE_CLUTTER_WIN32 ..\..\..\clutter\clutter.symbols &gt;&gt; ..\..\..\clutter\clutter.def&#x0D;&#x0A;
+			   cl -EP -DHAVE_CAIRO -DHAVE_CLUTTER_WIN32 -DCLUTTER_ENABLE_EXPERIMENTAL_API ..\..\..\clutter\clutter.symbols &gt;&gt; ..\..\..\clutter\clutter.def&#x0D;&#x0A;
 			  "
 	/>
 	<UserMacro
diff --git a/clutter/clutter.symbols b/clutter/clutter.symbols
index 2d91f36..366bce2 100644
--- a/clutter/clutter.symbols
+++ b/clutter/clutter.symbols
@@ -285,6 +285,10 @@ clutter_animator_set_duration
 clutter_animator_set_timeline
 clutter_animator_start
 
+#ifdef CLUTTER_ENABLE_EXPERIMENTAL_API
+clutter_backend_get_cogl_context
+#endif
+
 #ifndef CLUTTER_DISABLE_DEPRECATED
 clutter_backend_get_double_click_distance
 clutter_backend_get_double_click_time



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