fixed #454 Include Box2D.h use Box2D/Box2D.h in vs template.

This commit is contained in:
yangws 2011-05-09 10:13:24 +08:00
parent e27452dd8a
commit c415bc98d2
5 changed files with 5 additions and 5 deletions

View File

@ -192,7 +192,7 @@ function AddConfigurations(proj, strProjectName) {
strAddIncludeDir += ';..\\cocos2dx\\platform\\third_party\\win32\\OGLES';
if (wizard.FindSymbol('CC_USE_BOX2D')) {
strAddIncludeDir += ';..\\;..\\Box2D';
strAddIncludeDir += ';..\\';
}
if (wizard.FindSymbol('CC_USE_CHIPMUNK')) {
strAddIncludeDir += ';..\\chipmunk\\include\\chipmunk';

View File

@ -4,7 +4,7 @@
#include "cocos2d.h"
[! if CC_USE_BOX2D]
#include "Box2D.h"
#include "Box2D/Box2D.h"
[! endif]
[! if CC_USE_CHIPMUNK]

View File

@ -182,7 +182,7 @@ function AddConfigurations(proj, strProjectName) {
var strOutputFile = '$(OutDir)/' + wizard.FindSymbol("PROJECT_NAME") + '.dll';
if (wizard.FindSymbol('CC_USE_BOX2D')) {
strCurIncludeDir += ';..\\;..\\Box2D';
strCurIncludeDir += ';..\\';
strDependLibs += ' libBox2d.lib';
}
if (wizard.FindSymbol('CC_USE_CHIPMUNK')) {

View File

@ -4,7 +4,7 @@
#include "cocos2d.h"
[! if CC_USE_BOX2D]
#include "Box2D.h"
#include "Box2D/Box2D.h"
[! endif]
[! if CC_USE_CHIPMUNK]

View File

@ -40,7 +40,7 @@ DEFINES=-D__TCOM_SUPPORT__ ;生成的是TCOM组件注意TOPS应用也
INCLUDE_PATH=-I ../../PRJ_TG3/Include/OpenGL -I../cocos2dx -I../cocos2dx/include -I../cocos2dx/platform
INCLUDE_PATH=-I. -I./Classes -I./wophone -I./wophone/Res ;默认本项目的路径
[! if CC_USE_BOX2D]
INCLUDE_PATH=-I../ -I../Box2D
INCLUDE_PATH=-I../
[! endif]
[! if CC_USE_CHIPMUNK]
INCLUDE_PATH=-I../chipmunk/include/chipmunk