From ed5649a44b2dcfd175549aec203bfabc43092aae Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Wed, 27 Feb 2013 12:33:42 +0800 Subject: [PATCH] Fix gtk3-demo Visual Studio projects Since we are linking in the resource items by the source, we need to disable WholeProgramOptimization so that the resource stuff does get linked into the demo binaries, so that they can be loaded properly. Also make sure that gtk3-demo-application is also built with the multibyte character set, like the rest. This should fix bug 694342, at least for Visual Studio builds. --- build/win32/vs10/gtk3-demo-application.vcxproj | 16 ++++++++-------- build/win32/vs10/gtk3-demo.vcxproj | 6 ++++-- build/win32/vs9/gtk3-demo-application.vcproj | 12 ++++++------ build/win32/vs9/gtk3-demo.vcproj | 4 ++-- 4 files changed, 20 insertions(+), 18 deletions(-) diff --git a/build/win32/vs10/gtk3-demo-application.vcxproj b/build/win32/vs10/gtk3-demo-application.vcxproj index 5550650e5f..c48d14b462 100644 --- a/build/win32/vs10/gtk3-demo-application.vcxproj +++ b/build/win32/vs10/gtk3-demo-application.vcxproj @@ -26,21 +26,21 @@ Application - Unicode - true + MultiByte + false Application - Unicode + MultiByte Application - Unicode - true + MultiByte + false Application - Unicode + MultiByte @@ -92,7 +92,7 @@ true %(PreprocessorDefinitions) MultiThreadedDLL - true + false Level3 @@ -136,7 +136,7 @@ true %(PreprocessorDefinitions) MultiThreadedDLL - true + false Level3 diff --git a/build/win32/vs10/gtk3-demo.vcxproj b/build/win32/vs10/gtk3-demo.vcxproj index 86839f0eec..4e227204e9 100644 --- a/build/win32/vs10/gtk3-demo.vcxproj +++ b/build/win32/vs10/gtk3-demo.vcxproj @@ -27,7 +27,7 @@ Application MultiByte - true + false v100 @@ -38,7 +38,7 @@ Application MultiByte - true + false v100 @@ -135,6 +135,7 @@ %(AdditionalDependencies) true Console + false true true false @@ -158,6 +159,7 @@ %(AdditionalDependencies) true Console + false true true false diff --git a/build/win32/vs9/gtk3-demo-application.vcproj b/build/win32/vs9/gtk3-demo-application.vcproj index f6ba10a73b..51b90ead6e 100644 --- a/build/win32/vs9/gtk3-demo-application.vcproj +++ b/build/win32/vs9/gtk3-demo-application.vcproj @@ -23,7 +23,7 @@ Name="Debug|Win32" InheritedPropertySheets=".\gtk+.vsprops" ConfigurationType="1" - CharacterSet="1" + CharacterSet="2" >