From 37e9215521a26e51c87fcafdc183633ee3227b60 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Wed, 16 May 2012 17:21:10 +0800 Subject: [PATCH] Visual C++ support: Avoid redefinition warnings CLUTTER_WINDOWING_GDK is defined in the (pre-configured) clutter-config.h, so don't define that in the Projects again. --- build/win32/vs10/clutter.vcxprojin | 8 ++++---- build/win32/vs9/clutter.vcprojin | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/build/win32/vs10/clutter.vcxprojin b/build/win32/vs10/clutter.vcxprojin index 1d50d4ff8..733251c9b 100644 --- a/build/win32/vs10/clutter.vcxprojin +++ b/build/win32/vs10/clutter.vcxprojin @@ -160,7 +160,7 @@ Disabled ..\..\..\clutter;..\..\..\clutter\win32;..\..\..\clutter\deprecated;..\..\..\clutter\cally;$(GlibEtcInstallRoot)\include\gtk-3.0;%(AdditionalIncludeDirectories) - $(DebugLibBuildDefines);$(ClutterBuildDefines);CLUTTER_WINDOWING_GDK%(PreprocessorDefinitions) + $(DebugLibBuildDefines);$(ClutterBuildDefines);%(PreprocessorDefinitions) true EnableFastChecks MultiThreadedDebugDLL @@ -218,7 +218,7 @@ Disabled ..\..\..\clutter;..\..\..\clutter\win32;..\..\..\clutter\deprecated;..\..\..\clutter\cally;$(GlibEtcInstallRoot)\include\gtk-3.0;%(AdditionalIncludeDirectories) - $(DebugLibBuildDefines);$(ClutterBuildDefines);CLUTTER_WINDOWING_GDK;%(PreprocessorDefinitions) + $(DebugLibBuildDefines);$(ClutterBuildDefines);%(PreprocessorDefinitions) true EnableFastChecks MultiThreadedDebugDLL @@ -279,7 +279,7 @@ MaxSpeed true ..\..\..\clutter;..\..\..\clutter\win32;..\..\..\clutter\deprecated;..\..\..\clutter\cally;$(GlibEtcInstallRoot)\include\gtk-3.0;%(AdditionalIncludeDirectories) - $(ReleaseLibBuildDefines);$(ClutterBuildDefines);CLUTTER_WINDOWING_GDK;%(PreprocessorDefinitions) + $(ReleaseLibBuildDefines);$(ClutterBuildDefines);%(PreprocessorDefinitions) MultiThreadedDLL true @@ -336,7 +336,7 @@ ..\..\..\clutter;..\..\..\clutter\win32;..\..\..\clutter\deprecated;..\..\..\clutter\cally;$(GlibEtcInstallRoot)\include\gtk-3.0;%(AdditionalIncludeDirectories) - $(ReleaseLibBuildDefines);$(ClutterBuildDefines);CLUTTER_WINDOWING_GDK;%(PreprocessorDefinitions) + $(ReleaseLibBuildDefines);$(ClutterBuildDefines);%(PreprocessorDefinitions) MultiThreadedDLL diff --git a/build/win32/vs9/clutter.vcprojin b/build/win32/vs9/clutter.vcprojin index c1dad8959..9fe92e536 100644 --- a/build/win32/vs9/clutter.vcprojin +++ b/build/win32/vs9/clutter.vcprojin @@ -72,7 +72,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\..\clutter;..\..\..\clutter\win32;..\..\..\clutter\deprecated;..\..\..\clutter\cally;$(GlibEtcInstallRoot)\include\gtk-3.0" - PreprocessorDefinitions="$(DebugLibBuildDefines);$(ClutterBuildDefines);CLUTTER_WINDOWING_GDK" + PreprocessorDefinitions="$(DebugLibBuildDefines);$(ClutterBuildDefines)" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" @@ -149,7 +149,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\..\clutter;..\..\..\clutter\win32;..\..\..\clutter\deprecated;..\..\..\clutter\cally;$(GlibEtcInstallRoot)\include\gtk-3.0" - PreprocessorDefinitions="$(DebugLibBuildDefines);$(ClutterBuildDefines);CLUTTER_WINDOWING_GDK" + PreprocessorDefinitions="$(DebugLibBuildDefines);$(ClutterBuildDefines)" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" @@ -231,7 +231,7 @@ Optimization="2" EnableIntrinsicFunctions="true" AdditionalIncludeDirectories="..\..\..\clutter;..\..\..\clutter\win32;..\..\..\clutter\deprecated;..\..\..\clutter\cally;$(GlibEtcInstallRoot)\include\gtk-3.0" - PreprocessorDefinitions="$(ReleaseLibBuildDefines);$(ClutterBuildDefines);CLUTTER_WINDOWING_GDK" + PreprocessorDefinitions="$(ReleaseLibBuildDefines);$(ClutterBuildDefines)" RuntimeLibrary="2" EnableFunctionLevelLinking="true" UsePrecompiledHeader="0" @@ -307,7 +307,7 @@