forked from webnautes/nudapeu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cmake
1 lines (1 loc) · 947 Bytes
/
cmake
1
cmake -GNinja -DCMAKE_INSTALL_PREFIX=C:/OpenCV-android-sdk -DANDROID_PROJECTS_BUILD_TYPE="ANT" -DBUILD_ANDROID_PROJECTS=ON -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_JAVA=ON -DBUILD_opencv_java=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_FAT_JAVA_LIB=ON -DBUILD_PYTHON=OFF -DINSTALL_ANDROID_EXAMPLES=OFF -DANDROID_EXAMPLES_WITH_LIBS=OFF -DBUILD_DOCS=OFF -DWITH_OPENCL=ON -DANDROID_NDK_HOST_X64=ON -DCMAKE_TOOLCHAIN_FILE=C:/Users/webnautes/AppData/Local/Android/Sdk/ndk-bundle/build/cmake/android.toolchain.cmake -DANDROID_NDK=C:/Users/webnautes/AppData/Local/Android/Sdk/ndk-bundle -DANDROID_SDK=C:/Users/webnautes/AppData/Local/Android/Sdk -DANDROID_TOOLCHAIN=clang -DANDROID_STL=c++_static -DANDROID_ARM_NEON=ON -DANDROID_ABI=arm64-v8a -DANDROID_NDK_HOST_X64=ON -D OPENCV_EXTRA_MODULES_PATH=C:\opencv-sources\opencv_contrib-4.1.1\modules -DOPENCV_ENABLE_NONFREE=ON -DANDROID_NATIVE_API_LEVEL=16 -DANDROID_SDK_TARGET=29 ..