部分文件需要如何做dragonbones的lua绑定(VisualStudio) 支持
a. 将dragonbones(cocos2d_libs), lua_dragonbones_auto.cpp,lua_dragonbones_auto.hpp(cocos2d_lua_bindings/auto)添加到工程
b. cocos2d_libs/project/Build Settings/Search Paths/User Header Search Paths增加
$(SRCROOT)/../cocos/editor-support/dragonbones
$(SRCROOT)/../cocos/editor-support/dragonbones/renderer/cocos2d-x-3.x
$(SRCROOT)/../external/lua/lua
$(SRCROOT)/../external/lua/tolua
$(SRCROOT)/../cocos/scripting/lua-bindings/manual
c. cocos2d_lua_bindings/project/Build Settings/Search Paths/User Header Search Paths增加
$(SRCROOT)/../../../editor-support/dragonbones
$(SRCROOT)/../../../editor-support/dragonbones/renderer/cocos2d-x-3.x
d. 项目工程/project/Build Settings/Search Paths/User Header Search Paths增加
$(SRCROOT)/../../cocos2d-x/cocos/scripting/lua-bindings/manual
$(SRCROOT)/../../cocos2d-x/cocos/scripting/lua-bindings/auto
e. cocos2d_libs/PROJECT/Apple LLVM 6.1 - Preprocessing/Preprocessor Macros/Debug(Release) 增加
DRAGON_BONES_ENABLE_LUA=1
cocos2d_lua_bindings/PROJECT/Apple LLVM 6.1 - Preprocessing/Preprocessor Macros/Debug(Release) 增加
DRAGON_BONES_ENABLE_LUA=1
请发表评论