/
This file contents can be applied for version OpenSceneGraph(OSG) 3.3.2 or newer.
To compile OSG as a standalone library you'll only need the Android NDK. To develop applications with the library you'll also need the Android SDK
mkdir build_android_static_gles2 && cd build_android_static_gles2
cmake .. -DANDROID_NDK=<path-to-the-android-ndk> -DCMAKE_TOOLCHAIN_FILE=../PlatformSpecifics/Android/android.toolchain.cmake \
-DOPENGL_PROFILE="GLES2" -DDYNAMIC_OPENTHREADS=OFF -DDYNAMIC_OPENSCENEGRAPH=OFF \
-DANDROID_NATIVE_API_LEVEL=15 \
-DANDROID_ABI=armeabi \
-DCMAKE_INSTALL_PREFIX=<path-to-the-install-path>
make -j 8
make install