此方法在新建项目时避免拷贝文件
VC++ 包含路径
D:\cocos2d-x-2.1.4\cocos2d-x-2.1.4\cocos2dx\platform\win32
D:\cocos2d-x-2.1.4\cocos2d-x-2.1.4\cocos2dx\platform\third_party\win32\OGLES
D:\cocos2d-x-2.1.4\cocos2d-x-2.1.4\cocos2dx\include
D:\cocos2d-x-2.1.4\cocos2d-x-2.1.4\cocos2dx\kazmath\include
D:\cocos2d-x-2.1.4\cocos2d-x-2.1.4\cocos2dx
D:\cocos2d-x-2.1.4\cocos2d-x-2.1.4\external\Box2D
D:\cocos2d-x-2.1.4\cocos2d-x-2.1.4\CocosDenshion\include
多余包含路径(可选)
D:\cocos2d-x-2.1.4\cocos2d-x-2.1.4
D:\cocos2d-x-2.1.4\cocos2d-x-2.1.4\CocosDenshion
D:\cocos2d-x-2.1.4\cocos2d-x-2.1.4\cocos2dx\kazmath
D:\cocos2d-x-2.1.4\cocos2d-x-2.1.4\cocos2dx\kazmath\include\kazmath
D:\cocos2d-x-2.1.4\cocos2d-x-2.1.4\cocos2dx\platform
D:\cocos2d-x-2.1.4\cocos2d-x-2.1.4\cocos2dx\platform\third_party\win32
D:\cocos2d-x-2.1.4\cocos2d-x-2.1.4\cocos2dx\platform\third_party\win32\OGLES\GL
D:\cocos2d-x-2.1.4\cocos2d-x-2.1.4\external
D:\cocos2d-x-2.1.4\cocos2d-x-2.1.4\Debug.win32
快捷创建项目:
利用脚本文件创建项目的.bat文件内容,本文件与create_project.py同级目录
@echo off
set /p projectName=projectName:
if "%projectName%"=="" goto lblExit
set /p packageName=packageName:
if "%packageName%"=="" goto lblExit2
create_project.py -project %projectName% -package %packageName% -language cpp
pause
exit
:lblExit
@echo 项目名称不能为空!
:lblExit2
@echo 包名称不能为空!
pause
安装可参考这个链接
http://blog.csdn.net/aa4790139/article/details/8086635