mirror of https://github.com/axmolengine/axmol.git
[uphone & win32]Fix the bug of new project wizard.
This commit is contained in:
parent
d68d33b029
commit
e73e291a71
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue