1
0
Fork 0

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
This commit is contained in:
Chun-wei Fan 2014-03-20 22:56:07 +08:00
parent 4c204a4f3e
commit d42cb2a4d3
2 changed files with 2 additions and 2 deletions

View file

@ -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>

View file

@ -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"