diff options
author | Johannes Schickel | 2013-08-14 01:57:29 +0200 |
---|---|---|
committer | Johannes Schickel | 2013-08-14 02:01:03 +0200 |
commit | b830f68bacd18f51f4dd912ce3b54ec47d63f31d (patch) | |
tree | 174f6cff416f0888665eef612b1d296d6cbfcef8 /devtools/create_project | |
parent | cfc8ebc9a8823f3478120c284ba0b484e033ca22 (diff) | |
download | scummvm-rg350-b830f68bacd18f51f4dd912ce3b54ec47d63f31d.tar.gz scummvm-rg350-b830f68bacd18f51f4dd912ce3b54ec47d63f31d.tar.bz2 scummvm-rg350-b830f68bacd18f51f4dd912ce3b54ec47d63f31d.zip |
DEVTOOLS: Disable builtin theme in MSVC 2005 and 2008 in create_project.
This is a copy of d089658fb84f67652e9569bc03c76bcc65e7b881 for older MSVC
versions. Thanks to Strangerke for noticing.
Diffstat (limited to 'devtools/create_project')
-rw-r--r-- | devtools/create_project/visualstudio.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/create_project/visualstudio.cpp b/devtools/create_project/visualstudio.cpp index 23225d3435..17e378fd0f 100644 --- a/devtools/create_project/visualstudio.cpp +++ b/devtools/create_project/visualstudio.cpp @@ -286,7 +286,7 @@ void VisualStudioProvider::createBuildProp(const BuildSetup &setup, bool isRelea if (isRelease) { properties << "\t\tEnableIntrinsicFunctions=\"true\"\n" "\t\tWholeProgramOptimization=\"true\"\n" - "\t\tPreprocessorDefinitions=\"WIN32;RELEASE_BUILD\"\n" + "\t\tPreprocessorDefinitions=\"WIN32;DISABLE_GUI_BUILTIN_THEME;RELEASE_BUILD\"\n" "\t\tStringPooling=\"true\"\n" "\t\tBufferSecurityCheck=\"false\"\n" "\t\tDebugInformationFormat=\"0\"\n" @@ -300,7 +300,7 @@ void VisualStudioProvider::createBuildProp(const BuildSetup &setup, bool isRelea "\t\tSetChecksum=\"true\"\n"; } else { properties << "\t\tOptimization=\"0\"\n" - "\t\tPreprocessorDefinitions=\"WIN32\"\n" + "\t\tPreprocessorDefinitions=\"WIN32;DISABLE_GUI_BUILTIN_THEME\"\n" "\t\tMinimalRebuild=\"true\"\n" "\t\tBasicRuntimeChecks=\"3\"\n" "\t\tRuntimeLibrary=\"1\"\n" |