[uphone & win32]Fix the bug of new project wizard.

This commit is contained in:
natural-law 2011-01-27 15:01:38 +08:00
parent d68d33b029
commit e73e291a71
2 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ function AddConfig(proj, strProjectName) {
var config = proj.Object.Configurations(astrConfigName[nCntr]);
if (bDebug) {
strDefinitions = '_DEBUG;COCOS2D_DEBUG=1' + strDefinitions;
strDefinitions = '_DEBUG;COCOS2D_DEBUG=1;' + strDefinitions;
}
else {
strDefinitions = 'NDEBUG;' + strDefinitions;

View File

@ -185,7 +185,7 @@ function AddConfigurations(proj, strProjectName) {
var strDefines = GetPlatformDefine(config);
strDefines += "_WINDOWS;STRICT;";
if (bDebug)
strDefines += "_DEBUG;COCOS2D_DEBUG=1";
strDefines += "_DEBUG;COCOS2D_DEBUG=1;";
else
strDefines += "NDEBUG";
CLTool.PreprocessorDefinitions = strDefines;