aboutsummaryrefslogtreecommitdiff
path: root/tools/create_msvc
diff options
context:
space:
mode:
authorJohannes Schickel2010-10-08 08:07:31 +0000
committerJohannes Schickel2010-10-08 08:07:31 +0000
commit8639ca97e6f4bbdbf37b255cb7dc768ac7d51e0f (patch)
tree193a692a4cf0884a18806d7452a00016e9e9655e /tools/create_msvc
parenta214e08c0d96f4dbdca21382e3904b351e98ab83 (diff)
downloadscummvm-rg350-8639ca97e6f4bbdbf37b255cb7dc768ac7d51e0f.tar.gz
scummvm-rg350-8639ca97e6f4bbdbf37b255cb7dc768ac7d51e0f.tar.bz2
scummvm-rg350-8639ca97e6f4bbdbf37b255cb7dc768ac7d51e0f.zip
TOOLS: Add RELEASE_BUILD to autogenerated MSVC project files.
This is only done for the release target and not the debug target. svn-id: r53065
Diffstat (limited to 'tools/create_msvc')
-rw-r--r--tools/create_msvc/create_msvc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/create_msvc/create_msvc.cpp b/tools/create_msvc/create_msvc.cpp
index 1c395b01aa..f8c94e3c08 100644
--- a/tools/create_msvc/create_msvc.cpp
+++ b/tools/create_msvc/create_msvc.cpp
@@ -1715,7 +1715,7 @@ void VisualStudioProvider::createBuildProp(const BuildSetup &setup, bool isRelea
if (isRelease) {
properties << "\t\tEnableIntrinsicFunctions=\"true\"\n"
"\t\tWholeProgramOptimization=\"true\"\n"
- "\t\tPreprocessorDefinitions=\"WIN32\"\n"
+ "\t\tPreprocessorDefinitions=\"WIN32;RELEASE_BUILD\"\n"
"\t\tStringPooling=\"true\"\n"
"\t\tBufferSecurityCheck=\"false\"\n"
"\t\tDebugInformationFormat=\"0\"\n"
@@ -2111,7 +2111,7 @@ void MSBuildProvider::createBuildProp(const BuildSetup &setup, bool isRelease, b
if (isRelease) {
properties << "\t\t\t<IntrinsicFunctions>true</IntrinsicFunctions>\n"
"\t\t\t<WholeProgramOptimization>true</WholeProgramOptimization>\n"
- "\t\t\t<PreprocessorDefinitions>WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>\n"
+ "\t\t\t<PreprocessorDefinitions>WIN32;RELEASE_BUILD;%(PreprocessorDefinitions)</PreprocessorDefinitions>\n"
"\t\t\t<StringPooling>true</StringPooling>\n"
"\t\t\t<BufferSecurityCheck>false</BufferSecurityCheck>\n"
"\t\t\t<DebugInformationFormat></DebugInformationFormat>\n"