Home | History | Annotate | Download | only in hello-android
      1 #!/bin/sh
      2 cd `dirname $0`
      3 
      4 BUILD_DIR=build_armeabi
      5 opencv_android=`pwd`/../../../android
      6 opencv_build_dir=$opencv_android/$BUILD_DIR
      7 
      8 mkdir -p $BUILD_DIR
      9 cd $BUILD_DIR
     10 
     11 RUN_CMAKE="cmake -DOpenCV_DIR=$opencv_build_dir -DARM_TARGET=armeabi -DCMAKE_TOOLCHAIN_FILE=$opencv_android/android.toolchain.cmake .."
     12 echo $RUN_CMAKE
     13 $RUN_CMAKE
     14