This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 \ |