Update Visual C++ 2008 Projects

Turn off the deprecation warnings for the accessibility, performance
and micro-bench programs.
This commit is contained in:
Chun-wei Fan 2011-12-13 12:56:53 +08:00
parent 23960328d5
commit 91b0aadbd4
11 changed files with 45 additions and 41 deletions

View File

@ -31,7 +31,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;$(CallyTestDefs)"
PreprocessorDefinitions="_DEBUG;$(CallyTestDefs);$(ClutterDisableDeprecationWarnings)"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -60,7 +60,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;$(CallyTestDefs)"
PreprocessorDefinitions="_DEBUG;$(CallyTestDefs);$(ClutterDisableDeprecationWarnings)"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -94,7 +94,7 @@
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
PreprocessorDefinitions="$(CallyTestDefs)"
PreprocessorDefinitions="$(CallyTestDefs);$(ClutterDisableDeprecationWarnings)"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
@ -124,7 +124,7 @@
/>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="$(CallyTestDefs)"
PreprocessorDefinitions="$(CallyTestDefs);$(ClutterDisableDeprecationWarnings)"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"

View File

@ -31,7 +31,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;$(CallyTestDefs)"
PreprocessorDefinitions="_DEBUG;$(CallyTestDefs);$(ClutterDisableDeprecationWarnings)"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -60,7 +60,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;$(CallyTestDefs)"
PreprocessorDefinitions="_DEBUG;$(CallyTestDefs);$(ClutterDisableDeprecationWarnings)"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -94,7 +94,7 @@
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
PreprocessorDefinitions="$(CallyTestDefs)"
PreprocessorDefinitions="$(CallyTestDefs);$(ClutterDisableDeprecationWarnings)"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
@ -124,7 +124,7 @@
/>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="$(CallyTestDefs)"
PreprocessorDefinitions="$(CallyTestDefs);$(ClutterDisableDeprecationWarnings)"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"

View File

@ -32,7 +32,7 @@
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\clutter"
PreprocessorDefinitions="_DEBUG;$(CallyTestDefs)"
PreprocessorDefinitions="_DEBUG;$(CallyTestDefs);$(ClutterDisableDeprecationWarnings)"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -62,7 +62,7 @@
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\clutter"
PreprocessorDefinitions="_DEBUG;$(CallyTestDefs)"
PreprocessorDefinitions="_DEBUG;$(CallyTestDefs);$(ClutterDisableDeprecationWarnings)"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -97,7 +97,7 @@
Optimization="2"
EnableIntrinsicFunctions="true"
AdditionalIncludeDirectories="..\..\..\clutter"
PreprocessorDefinitions="$(CallyTestDefs)"
PreprocessorDefinitions="$(CallyTestDefs);$(ClutterDisableDeprecationWarnings)"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
@ -128,7 +128,7 @@
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\..\..\clutter"
PreprocessorDefinitions="$(CallyTestDefs)"
PreprocessorDefinitions="$(CallyTestDefs);$(ClutterDisableDeprecationWarnings)"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"

View File

@ -31,7 +31,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;$(CallyTestDefs)"
PreprocessorDefinitions="_DEBUG;$(CallyTestDefs);$(ClutterDisableDeprecationWarnings)"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -60,7 +60,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;$(CallyTestDefs)"
PreprocessorDefinitions="_DEBUG;$(CallyTestDefs);$(ClutterDisableDeprecationWarnings)"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -94,7 +94,7 @@
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
PreprocessorDefinitions="$(CallyTestDefs)"
PreprocessorDefinitions="$(CallyTestDefs);$(ClutterDisableDeprecationWarnings)"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
@ -124,7 +124,7 @@
/>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="$(CallyTestDefs)"
PreprocessorDefinitions="$(CallyTestDefs);$(ClutterDisableDeprecationWarnings)"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"

View File

@ -31,7 +31,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;$(CallyTestDefs)"
PreprocessorDefinitions="_DEBUG;$(CallyTestDefs);$(ClutterDisableDeprecationWarnings)"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -60,7 +60,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;$(CallyTestDefs)"
PreprocessorDefinitions="_DEBUG;$(CallyTestDefs);$(ClutterDisableDeprecationWarnings)"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -94,7 +94,7 @@
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
PreprocessorDefinitions="$(CallyTestDefs)"
PreprocessorDefinitions="$(CallyTestDefs);$(ClutterDisableDeprecationWarnings)"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
@ -124,7 +124,7 @@
/>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="$(CallyTestDefs)"
PreprocessorDefinitions="$(CallyTestDefs);$(ClutterDisableDeprecationWarnings)"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"

View File

@ -58,9 +58,13 @@
Name="TestProgDef"
Value="$(BaseBuildDef);TESTS_DATADIR=\&quot;../share/clutter-$(ClutterApiVersion)/data\&quot;"
/>
<UserMacro
Name="ClutterDisableDeprecationWarnings"
Value="CLUTTER_DISABLE_DEPRECATION_WARNINGS;GLIB_DISABLE_DEPRECATION_WARNINGS"
/>
<UserMacro
Name="TestPerfProgDef"
Value="$(BaseBuildDef);TESTS_DATA_DIR=\&quot;../share/clutter-$(ClutterApiVersion)/data\&quot;"
Value="$(BaseBuildDef);TESTS_DATA_DIR=\&quot;../share/clutter-$(ClutterApiVersion)/data\&quot;;$(ClutterDisableDeprecationWarnings)"
/>
<UserMacro
Name="PreBuildCmd"

View File

@ -31,7 +31,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;$(BaseWinBuildDef)"
PreprocessorDefinitions="_DEBUG;$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings)"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -59,7 +59,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;$(BaseWinBuildDef)"
PreprocessorDefinitions="_DEBUG;$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings)"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -93,7 +93,7 @@
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
PreprocessorDefinitions="$(BaseWinBuildDef)"
PreprocessorDefinitions="$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings)"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
@ -122,7 +122,7 @@
/>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="$(BaseWinBuildDef)"
PreprocessorDefinitions="$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings)"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"

View File

@ -31,7 +31,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;$(BaseWinBuildDef)"
PreprocessorDefinitions="_DEBUG;$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings)"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -60,7 +60,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;$(BaseWinBuildDef)"
PreprocessorDefinitions="_DEBUG;$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings)"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -94,7 +94,7 @@
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
PreprocessorDefinitions="$(BaseWinBuildDef)"
PreprocessorDefinitions="$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings)"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
@ -123,7 +123,7 @@
/>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="$(BaseWinBuildDef)"
PreprocessorDefinitions="$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings)"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"

View File

@ -31,7 +31,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;$(BaseWinBuildDef)"
PreprocessorDefinitions="_DEBUG;$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings)"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -59,7 +59,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;$(BaseWinBuildDef)"
PreprocessorDefinitions="_DEBUG;$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings)"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -93,7 +93,7 @@
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
PreprocessorDefinitions="$(BaseWinBuildDef)"
PreprocessorDefinitions="$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings)"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
@ -122,7 +122,7 @@
/>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="$(BaseWinBuildDef)"
PreprocessorDefinitions="$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings)"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"

View File

@ -31,7 +31,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;$(BaseWinBuildDef)"
PreprocessorDefinitions="_DEBUG;$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings)"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -59,7 +59,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;$(BaseWinBuildDef)"
PreprocessorDefinitions="_DEBUG;$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings)"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -93,7 +93,7 @@
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
PreprocessorDefinitions="$(BaseWinBuildDef)"
PreprocessorDefinitions="$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings)"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
@ -122,7 +122,7 @@
/>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="$(BaseWinBuildDef)"
PreprocessorDefinitions="$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings)"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"

View File

@ -31,7 +31,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;$(BaseWinBuildDef)"
PreprocessorDefinitions="_DEBUG;$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings)"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -59,7 +59,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;$(BaseWinBuildDef)"
PreprocessorDefinitions="_DEBUG;$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings)"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -93,7 +93,7 @@
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
PreprocessorDefinitions="$(BaseWinBuildDef)"
PreprocessorDefinitions="$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings)"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
@ -122,7 +122,7 @@
/>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="$(BaseWinBuildDef)"
PreprocessorDefinitions="$(BaseWinBuildDef);$(ClutterDisableDeprecationWarnings)"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"