cocos2dx android 编译宏定义的配置
2016-11-17 18:21
253 查看
一,jin/Appliaction.mk文件里
APP_STL := gnustl_static
APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-char
APP_LDFLAGS := -latomic
APP_ABI := armeabi
ifeq ($(NDK_DEBUG),1)
APP_CPPFLAGS += -DCOCOS2D_DEBUG=1
#举例 APP_CPPFLAGS += -D_Lib 等
APP_OPTIM := debug
else
APP_CPPFLAGS += -DNDEBUG
APP_OPTIM := release
endif
二,关于配置文件详细说明
http://blog.sina.com.cn/s/blog_77cb34170101b5bx.html
APP_STL := gnustl_static
APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-char
APP_LDFLAGS := -latomic
APP_ABI := armeabi
ifeq ($(NDK_DEBUG),1)
APP_CPPFLAGS += -DCOCOS2D_DEBUG=1
#举例 APP_CPPFLAGS += -D_Lib 等
APP_OPTIM := debug
else
APP_CPPFLAGS += -DNDEBUG
APP_OPTIM := release
endif
二,关于配置文件详细说明
http://blog.sina.com.cn/s/blog_77cb34170101b5bx.html
相关文章推荐
- cocos2dx - android环境配置及编译
- 记录配置cocos2dx android eclipse编译环境 in win7
- cocos2dx 2.2.2 android 编译配置(不用cygwin)
- mac上配置android开发环境并把cocos2dx项目编译到android
- Android 编译的语言配置
- android 下载编译环境配置简要
- ubuntu 编译android2.2源码配置环境及jdk5(4)
- ubuntu 编译android2.2源码配置环境及jdk5(6)
- Android系统开发编译环境配置
- Ubuntu11.10之Android编译环境的配置及Samba服务器的搭建
- Android编译大全(一)--环境配置及获取源码
- android环境配置之后,编译时提示:The project cannot be built until build path errors are resolved 的解决方案
- 配置Android源码编译环境所需包
- 配置新的product(译)——android编译系统
- 更改Android编译时的默认配置
- android的ant自动化编译环境配置理解
- ubuntu 编译android2.2源码配置环境及jdk5(3)
- Android 学习笔记(七) U-Boot的配置与编译
- ubuntu 编译android2.2源码配置环境及jdk5(5)
- Android编译环境——VMware虚拟机安装配置