This is a skeleton / template project created to experiment with how a C++ library can be created and then used on mobile platforms.
It consists of a few skeleton projects:
- MyLibrary - a C++ library built using CMake
- MyApp - A basic desktop console app built using CMake that uses MyLibrary
- MyiOSStaticLibrary - an XCode project configured to build MyLibrary into a universal binrary usable on the iOS Simulator and an iPhone/iPad
- MyiOSDemoApp - a basic iOS app which uses MyiOSStaticLibrary
- MyJavaLibrary - a Java wrapper for the C++ library which accesses it via JNI
More coming soon...
git clone --recursive https://github.com/gw111zz/MobileNativeLibraryTest.git
- Java access to the C++ library
- Hook all of this together into one build system