set(CMAKE_SYSTEM_NAME Android)

# API level 12->3.1.x
set(CMAKE_SYSTEM_VERSION 12)

# 默认为armeabi架构
set(CMAKE_ANDROID_ARCH armeabi)

# stl
#set(CMAKE_ANDROID_STL_TYPE gnustl_static)

# enable c++11 and exception
#set(CMAKE_CXX_FLAGS -fexception)
#set(CMAKE_CXX_FLAGS -std=c++11)
#set(CMAKE_CXX_FLAGS -fsigned-char)