码迷,mamicode.com
首页 > 移动开发 > 详细

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

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

标签:android   des   blog   使用   os   文件   io   div   

直接贴上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文件的配置

标签:android   des   blog   使用   os   文件   io   div   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!