RE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS"; 274. if (bDebug) 275. strDefines += "_DEBUG;COCOS2D_DEBUG=1;"; 276. else 277. strDefines += "NDEBUG"; 278. CLTool.PreprocessorDefinitions = strDefines; 279. 280. // Disable special warning 281. CLTool.DisableSpecificWarnings = "4267;4251;4244"; 282. 283. // Linker settings 284. var LinkTool = config.Tools('VCLinkerTool'); 285. LinkTool.SubSystem = subSystemWindows; 286. LinkTool.TargetMachine = machineX86; 287. if (bDebug) { 288. LinkTool.LinkIncremental = linkIncrementalYes; 289. LinkTool.GenerateDebugInformation = true; 290. } 291. else { 292. LinkTool.LinkIncremental = linkIncrementalNo; 293. } 294. 295. // Additional Library Directories 296. var strAddDepends = 'libcocos2d.lib libExtensions.lib opengl32.lib glew32.lib'; 297. if (wizard.FindSymbol('CC_USE_BOX2D')) { 298. strAddDepends += ' libBox2d.lib'; 299. } 300. if (wizard.FindSymbol('CC_USE_CHIPMUNK')) { 301. << 上一页 [11] [12] [13] [14] [15] [16] 下一页
|