首页 > 移动平台 > 详细

使用cocostudio 需要在Android.mk文件的配置

时间:2014-07-29 16:52:52      阅读:441      评论:0      收藏:0      [点我收藏+]

直接贴上Android.mk文件吧。

 

对了,是cocos2d3.0的,不知道2.x是否一样。

 

 

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := cocos2dcpp_shared

LOCAL_MODULE_FILENAME := libcocos2dcpp

LOCAL_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/cocos


LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static
LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocostudio_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_gui_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_static



include $(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)

 

使用cocostudio 需要在Android.mk文件的配置,布布扣,bubuko.com

使用cocostudio 需要在Android.mk文件的配置

原文:http://www.cnblogs.com/wfh1988/p/3875459.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!