[clutter/clutter-1.18] MSVC Build: Update Clutter DLL Build Defines



commit d42cb2a4d3027b867625dd90afe391e3cc3027fe
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Thu Mar 20 22:56:07 2014 +0800

    MSVC Build: Update Clutter DLL Build Defines
    
    Define DLL_EXPORT when we are building the Clutter DLL, to ensure that
    constants are exported properly.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=726762

 build/win32/vs10/clutter-build-defines.props  |    2 +-
 build/win32/vs9/clutter-build-defines.vsprops |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/build/win32/vs10/clutter-build-defines.props b/build/win32/vs10/clutter-build-defines.props
index 04583de..6b93aa5 100644
--- a/build/win32/vs10/clutter-build-defines.props
+++ b/build/win32/vs10/clutter-build-defines.props
@@ -5,7 +5,7 @@
   </ImportGroup>
   <PropertyGroup Label="UserMacros">
     <BaseWinBuildDef>_WIN32_WINNT=0x0501</BaseWinBuildDef>
-    <LibBuildDefines>HAVE_CONFIG_H;CLUTTER_COMPILATION;COGL_ENABLE_EXPERIMENTAL_API</LibBuildDefines>
+    
<LibBuildDefines>HAVE_CONFIG_H;CLUTTER_COMPILATION;COGL_ENABLE_EXPERIMENTAL_API;DLL_EXPORT</LibBuildDefines>
     <DebugLibBuildDefines>$(LibBuildDefines);_DEBUG;CLUTTER_ENABLE_DEBUG</DebugLibBuildDefines>
     
<ReleaseLibBuildDefines>$(LibBuildDefines);G_DISABLE_ASSERT;G_DISABLE_CHECKS;G_DISABLE_CAST_CHECKS</ReleaseLibBuildDefines>
     
<ClutterBuildDefines>$(BaseWinBuildDef);G_LOG_DOMAIN="Clutter";CLUTTER_LOCALEDIR="../share/locale";CLUTTER_SYSCONFDIR="../etc";COGL_DISABLE_DEPRECATION_WARNINGS</ClutterBuildDefines>
diff --git a/build/win32/vs9/clutter-build-defines.vsprops b/build/win32/vs9/clutter-build-defines.vsprops
index f147c98..3da652c 100644
--- a/build/win32/vs9/clutter-build-defines.vsprops
+++ b/build/win32/vs9/clutter-build-defines.vsprops
@@ -44,7 +44,7 @@
        />
        <UserMacro
                Name="LibBuildDefines"
-               Value="HAVE_CONFIG_H;CLUTTER_COMPILATION;COGL_ENABLE_EXPERIMENTAL_API"
+               Value="HAVE_CONFIG_H;CLUTTER_COMPILATION;COGL_ENABLE_EXPERIMENTAL_API;DLL_EXPORT"
        />
        <UserMacro
                Name="DebugLibBuildDefines"


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