[Scummvm-cvs-logs] SF.net SVN: scummvm:[53066] scummvm/branches/branch-1-2-0/tools/create_msvc /create_msvc.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri Oct 8 10:15:18 CEST 2010


Revision: 53066
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53066&view=rev
Author:   lordhoto
Date:     2010-10-08 08:15:17 +0000 (Fri, 08 Oct 2010)

Log Message:
-----------
TOOLS: Add RELEASE_BUILD to autogenerated MSVC project files.

This is only done for the release target and not the debug target.
This is a backport of r53065.

Modified Paths:
--------------
    scummvm/branches/branch-1-2-0/tools/create_msvc/create_msvc.cpp

Modified: scummvm/branches/branch-1-2-0/tools/create_msvc/create_msvc.cpp
===================================================================
--- scummvm/branches/branch-1-2-0/tools/create_msvc/create_msvc.cpp	2010-10-08 08:07:31 UTC (rev 53065)
+++ scummvm/branches/branch-1-2-0/tools/create_msvc/create_msvc.cpp	2010-10-08 08:15:17 UTC (rev 53066)
@@ -1715,7 +1715,7 @@
 	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 @@
 	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"


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list