mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
MSVC Builds: Silence Cogl Deprecation Warnings
Cogl-1.16 has much deprecation that is done, which causes the build of
Clutter to generate lots of C4996 (deprecation) warnings. As in commit
fa8809d7
(Add COGL_DISABLE_DEPRECATION_WARNINGS to the build flags), do
likewise by adding this macro in the Visual C++ property sheets, so we
would have much less C4996 warnings during the build.
Please see bug 703877 for the rationale behind this.
This commit is contained in:
parent
ac70bd3503
commit
142c1bbee7
@ -11,7 +11,7 @@
|
||||
<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_LOCALEDIR="../share/locale";CLUTTER_SYSCONFDIR="../etc"</ClutterBuildDefines>
|
||||
<ClutterBuildDefines>$(BaseBuildDef);G_LOG_DOMAIN="Clutter";CLUTTER_LOCALEDIR="../share/locale";CLUTTER_SYSCONFDIR="../etc";COGL_DISABLE_DEPRECATION_WARNINGS</ClutterBuildDefines>
|
||||
<ClutterDisableDeprecationWarnings>CLUTTER_DISABLE_DEPRECATION_WARNINGS;GLIB_DISABLE_DEPRECATION_WARNINGS</ClutterDisableDeprecationWarnings>
|
||||
<CallyTestDefs>$(BaseWinBuildDef);PREFIXDIR="/some/dummy/dir";$(ClutterDisableDeprecationWarnings)</CallyTestDefs>
|
||||
<TestProgDef>$(BaseBuildDef);TESTS_DATADIR="../share/clutter-$(ApiVersion)/data"</TestProgDef>
|
||||
|
@ -59,7 +59,7 @@
|
||||
/>
|
||||
<UserMacro
|
||||
Name="ClutterBuildDefines"
|
||||
Value="$(BaseBuildDef);G_LOG_DOMAIN=\"Clutter\";CLUTTER_LOCALEDIR=\"../share/locale\";CLUTTER_SYSCONFDIR=\"../etc\""
|
||||
Value="$(BaseBuildDef);G_LOG_DOMAIN=\"Clutter\";CLUTTER_LOCALEDIR=\"../share/locale\";CLUTTER_SYSCONFDIR=\"../etc\";COGL_DISABLE_DEPRECATION_WARNINGS"
|
||||
/>
|
||||
<UserMacro
|
||||
Name="ClutterDisableDeprecationWarnings"
|
||||
|
Loading…
Reference in New Issue
Block a user