Skip to content

Instantly share code, notes, and snippets.

@julienr
julienr / build_opencv_android.sh
Created September 18, 2014 21:52
OpenCV Android custom build multiple ABI script
#!/bin/bash
# Script to build opencv for android for multiple architectures
# Must be run from a directory that contains an 'opencv' directory with the
# opencv sources (from git or a tarball)
# Final Build to opencv/build/install
export ANDROID_NDK=$NDK
CMAKE_ARGS="-DNATIVE_API_LEVEL=14 \
-DBUILD_ANDROID_EXAMPLES=0 \
-DBUILD_ANDROID_PACKAGE=0 \