Initial support of tinyobjloader on Android NDK platform(NDK r10 confirmed to be able to compile).
This commit is contained in:
12
jni/Android.mk
Normal file
12
jni/Android.mk
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# A simple test for the minimal standard C++ library
|
||||||
|
#
|
||||||
|
|
||||||
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
LOCAL_MODULE := tinyobjloader
|
||||||
|
LOCAL_SRC_FILES := ../tiny_obj_loader.cc ../test.cc
|
||||||
|
|
||||||
|
LOCAL_C_INCLUDES := ../
|
||||||
|
|
||||||
|
include $(BUILD_EXECUTABLE)
|
||||||
2
jni/Application.mk
Normal file
2
jni/Application.mk
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
APP_ABI := all
|
||||||
|
APP_STL := stlport_static
|
||||||
2
jni/Makefile
Normal file
2
jni/Makefile
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
all:
|
||||||
|
ndk-build
|
||||||
1
jni/README
Normal file
1
jni/README
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Just tests compilation with Android NDK r10.
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
#include <cctype>
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
Reference in New Issue
Block a user