mirror of https://github.com/axmolengine/axmol.git
fixed #454 Include Box2D.h use Box2D/Box2D.h in vs template.
This commit is contained in:
parent
e27452dd8a
commit
c415bc98d2
|
@ -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';
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include "cocos2d.h"
|
||||
[! if CC_USE_BOX2D]
|
||||
|
||||
#include "Box2D.h"
|
||||
#include "Box2D/Box2D.h"
|
||||
[! endif]
|
||||
[! if CC_USE_CHIPMUNK]
|
||||
|
||||
|
|
|
@ -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')) {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include "cocos2d.h"
|
||||
[! if CC_USE_BOX2D]
|
||||
|
||||
#include "Box2D.h"
|
||||
#include "Box2D/Box2D.h"
|
||||
[! endif]
|
||||
[! if CC_USE_CHIPMUNK]
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue