From 1dd28537c4a3af3fffbcc4d85ec1c98126524d7b Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Tue, 13 Dec 2011 13:05:16 +0800 Subject: [PATCH] Update Visual C++ 2010 Projects Disable deprecation warning messages for the accessibility, performance and micro-bench programs. --- build/win32/vs10/clutter.props | 8 ++++++-- build/win32/vs10/test-cogl-perf.vcxproj | 8 ++++---- build/win32/vs10/test-picking.vcxproj | 8 ++++---- build/win32/vs10/test-random-text.vcxproj | 8 ++++---- build/win32/vs10/test-text-perf.vcxproj | 8 ++++---- build/win32/vs10/test-text.vcxproj | 8 ++++---- 6 files changed, 26 insertions(+), 22 deletions(-) diff --git a/build/win32/vs10/clutter.props b/build/win32/vs10/clutter.props index 194fe79..c49440b 100644 --- a/build/win32/vs10/clutter.props +++ b/build/win32/vs10/clutter.props @@ -10,9 +10,10 @@ $(LibBuildDefines);_DEBUG;CLUTTER_ENABLE_DEBUG $(LibBuildDefines);G_DISABLE_ASSERT;G_DISABLE_CHECKS;G_DISABLE_CAST_CHECKS $(BaseBuildDef);G_LOG_DOMAIN="Clutter";CLUTTER_PREFIX="../";CLUTTER_LIBDIR="../lib";CLUTTER_DATADIR="../share";CLUTTER_LOCALEDIR="../share/locale";CLUTTER_SYSCONFDIR="../etc" - $(BaseWinBuildDef);PREFIXDIR="/some/dummy/dir" + CLUTTER_DISABLE_DEPRECATION_WARNINGS;GLIB_DISABLE_DEPRECATION_WARNINGS + $(BaseWinBuildDef);PREFIXDIR="/some/dummy/dir;$(ClutterDisableDeprecationWarnings)" $(BaseBuildDef);TESTS_DATADIR="../share/clutter-$(ClutterApiVersion)/data" - $(BaseBuildDef);TESTS_DATA_DIR=\"../share/clutter-$(ClutterApiVersion)/data\" + $(BaseBuildDef);TESTS_DATA_DIR=\"../share/clutter-$(ClutterApiVersion)/data\;$(ClutterDisableDeprecationWarnings)" if exist ..\..\..\config.h goto DONE_CONFIG_H @@ -386,6 +387,9 @@ copy ..\..\..\doc\cookbook\examples\*.png $(CopyDir)\share\clutter-$(ClutterApiV $(TestProgDef) + + $(ClutterDisableDeprecationWarnings) + $(TestPerfProgDef) diff --git a/build/win32/vs10/test-cogl-perf.vcxproj b/build/win32/vs10/test-cogl-perf.vcxproj index 0efea01..4d4d8b1 100644 --- a/build/win32/vs10/test-cogl-perf.vcxproj +++ b/build/win32/vs10/test-cogl-perf.vcxproj @@ -71,7 +71,7 @@ Disabled - _DEBUG;$(BaseWinBuildDef);%(PreprocessorDefinitions) + _DEBUG;$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings);%(PreprocessorDefinitions) true EnableFastChecks MultiThreadedDebugDLL @@ -89,7 +89,7 @@ Disabled - _DEBUG;$(BaseWinBuildDef);%(PreprocessorDefinitions) + _DEBUG;$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings);%(PreprocessorDefinitions) true EnableFastChecks MultiThreadedDebugDLL @@ -113,7 +113,7 @@ MaxSpeed true - $(BaseWinBuildDef);%(PreprocessorDefinitions) + $(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings);%(PreprocessorDefinitions) MultiThreadedDLL true @@ -131,7 +131,7 @@ - $(BaseWinBuildDef);%(PreprocessorDefinitions) + $(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings);%(PreprocessorDefinitions) MultiThreadedDLL diff --git a/build/win32/vs10/test-picking.vcxproj b/build/win32/vs10/test-picking.vcxproj index 2ad32b1..af5c407 100644 --- a/build/win32/vs10/test-picking.vcxproj +++ b/build/win32/vs10/test-picking.vcxproj @@ -71,7 +71,7 @@ Disabled - _DEBUG;$(BaseWinBuildDef);%(PreprocessorDefinitions) + _DEBUG;$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings);%(PreprocessorDefinitions) true EnableFastChecks MultiThreadedDebugDLL @@ -90,7 +90,7 @@ Disabled - _DEBUG;$(BaseWinBuildDef);%(PreprocessorDefinitions) + _DEBUG;$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings);%(PreprocessorDefinitions) true EnableFastChecks MultiThreadedDebugDLL @@ -114,7 +114,7 @@ MaxSpeed true - $(BaseWinBuildDef);%(PreprocessorDefinitions) + $(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings);%(PreprocessorDefinitions) MultiThreadedDLL true @@ -132,7 +132,7 @@ - $(BaseWinBuildDef);%(PreprocessorDefinitions) + $(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings);%(PreprocessorDefinitions) MultiThreadedDLL diff --git a/build/win32/vs10/test-random-text.vcxproj b/build/win32/vs10/test-random-text.vcxproj index 5f16424..e5068c8 100644 --- a/build/win32/vs10/test-random-text.vcxproj +++ b/build/win32/vs10/test-random-text.vcxproj @@ -71,7 +71,7 @@ Disabled - _DEBUG;$(BaseWinBuildDef);%(PreprocessorDefinitions) + _DEBUG;$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings);%(PreprocessorDefinitions) true EnableFastChecks MultiThreadedDebugDLL @@ -89,7 +89,7 @@ Disabled - _DEBUG;$(BaseWinBuildDef);%(PreprocessorDefinitions) + _DEBUG;$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings);%(PreprocessorDefinitions) true EnableFastChecks MultiThreadedDebugDLL @@ -113,7 +113,7 @@ MaxSpeed true - $(BaseWinBuildDef);%(PreprocessorDefinitions) + $(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings);%(PreprocessorDefinitions) MultiThreadedDLL true @@ -131,7 +131,7 @@ - $(BaseWinBuildDef);%(PreprocessorDefinitions) + $(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings);%(PreprocessorDefinitions) MultiThreadedDLL diff --git a/build/win32/vs10/test-text-perf.vcxproj b/build/win32/vs10/test-text-perf.vcxproj index 22dbaeb..1752259 100644 --- a/build/win32/vs10/test-text-perf.vcxproj +++ b/build/win32/vs10/test-text-perf.vcxproj @@ -71,7 +71,7 @@ Disabled - _DEBUG;$(BaseWinBuildDef);%(PreprocessorDefinitions) + _DEBUG;$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings);%(PreprocessorDefinitions) true EnableFastChecks MultiThreadedDebugDLL @@ -89,7 +89,7 @@ Disabled - _DEBUG;$(BaseWinBuildDef);%(PreprocessorDefinitions) + _DEBUG;$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings);%(PreprocessorDefinitions) true EnableFastChecks MultiThreadedDebugDLL @@ -113,7 +113,7 @@ MaxSpeed true - $(BaseWinBuildDef);%(PreprocessorDefinitions) + $(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings);%(PreprocessorDefinitions) MultiThreadedDLL true @@ -131,7 +131,7 @@ - $(BaseWinBuildDef);%(PreprocessorDefinitions) + $(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings);%(PreprocessorDefinitions) MultiThreadedDLL diff --git a/build/win32/vs10/test-text.vcxproj b/build/win32/vs10/test-text.vcxproj index 79af5a7..ef1e3f9 100644 --- a/build/win32/vs10/test-text.vcxproj +++ b/build/win32/vs10/test-text.vcxproj @@ -71,7 +71,7 @@ Disabled - _DEBUG;$(BaseWinBuildDef);%(PreprocessorDefinitions) + _DEBUG;$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings);%(PreprocessorDefinitions) true EnableFastChecks MultiThreadedDebugDLL @@ -89,7 +89,7 @@ Disabled - _DEBUG;$(BaseWinBuildDef);%(PreprocessorDefinitions) + _DEBUG;$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings);%(PreprocessorDefinitions) true EnableFastChecks MultiThreadedDebugDLL @@ -113,7 +113,7 @@ MaxSpeed true - $(BaseWinBuildDef);%(PreprocessorDefinitions) + $(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings);%(PreprocessorDefinitions) MultiThreadedDLL true @@ -131,7 +131,7 @@ - $(BaseWinBuildDef);%(PreprocessorDefinitions) + $(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings);%(PreprocessorDefinitions) MultiThreadedDLL -- 2.7.4