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]);
|
var config = proj.Object.Configurations(astrConfigName[nCntr]);
|
||||||
|
|
||||||
if (bDebug) {
|
if (bDebug) {
|
||||||
strDefinitions = '_DEBUG;COCOS2D_DEBUG=1' + strDefinitions;
|
strDefinitions = '_DEBUG;COCOS2D_DEBUG=1;' + strDefinitions;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
strDefinitions = 'NDEBUG;' + strDefinitions;
|
strDefinitions = 'NDEBUG;' + strDefinitions;
|
||||||
|
|
|
@ -185,7 +185,7 @@ function AddConfigurations(proj, strProjectName) {
|
||||||
var strDefines = GetPlatformDefine(config);
|
var strDefines = GetPlatformDefine(config);
|
||||||
strDefines += "_WINDOWS;STRICT;";
|
strDefines += "_WINDOWS;STRICT;";
|
||||||
if (bDebug)
|
if (bDebug)
|
||||||
strDefines += "_DEBUG;COCOS2D_DEBUG=1";
|
strDefines += "_DEBUG;COCOS2D_DEBUG=1;";
|
||||||
else
|
else
|
||||||
strDefines += "NDEBUG";
|
strDefines += "NDEBUG";
|
||||||
CLTool.PreprocessorDefinitions = strDefines;
|
CLTool.PreprocessorDefinitions = strDefines;
|
||||||
|
|
Loading…
Reference in New Issue