首页 > 代码库 > 使用cocostudio 需要在Android.mk文件的配置
使用cocostudio 需要在Android.mk文件的配置
直接贴上Android.mk文件吧。
对了,是cocos2d3.0的,不知道2.x是否一样。
LOCAL_PATH := $(call my-dir)include $(CLEAR_VARS)LOCAL_MODULE := cocos2dcpp_sharedLOCAL_MODULE_FILENAME := libcocos2dcppLOCAL_SRC_FILES := hellocpp/main.cpp ../../Classes/AppDelegate.cpp ../../Classes/HelloWorldScene.cpp ../../Classes/Block.cpp ../../Classes/MenuScene.cpp ../../Classes/GameFinish.cpp ../../Classes/StreetGameScene.cpp ../../Classes/CanGameScene.cpp ../../Classes/GameData.cpp ../../Classes/GameScene.cpp ../../Classes/BeginScene.cpp LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes $(LOCAL_PATH)/../../cocos2d/cocos/editor-support/cocostudio $(LOCAL_PATH)/../../cocos2d/cocos/editor-support $(LOCAL_PATH)/../../cocos2d/extensions $(LOCAL_PATH)/../../cocos2d/cocos/ui $(LOCAL_PATH)/../../cocos2d/cocosLOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_staticLOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_staticLOCAL_WHOLE_STATIC_LIBRARIES += box2d_staticLOCAL_WHOLE_STATIC_LIBRARIES += cocostudio_staticLOCAL_WHOLE_STATIC_LIBRARIES += cocos_gui_staticLOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_staticinclude $(BUILD_SHARED_LIBRARY)$(call import-module,2d)$(call import-module,audio/android)$(call import-module,Box2D)$(call import-module,editor-support/cocostudio)$(call import-module,extensions)
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。