mirror of
https://github.com/opencv/opencv.git
synced 2024-12-05 09:49:12 +08:00
12 lines
351 B
Batchfile
12 lines
351 B
Batchfile
cd %~dp0\..
|
|
|
|
::rmdir /S /Q build
|
|
mkdir build 2>nul
|
|
|
|
SET ANDROID_NDK=C:\apps\android-ndk-r5b
|
|
SET CMAKE_EXE=C:\apps\cmake\bin\cmake.exe
|
|
SET MAKE_EXE=C:\apps\gnuport\make.exe
|
|
|
|
cd build
|
|
%CMAKE_EXE% -C ../CMakeCache.android.initial.cmake -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=..\android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=%MAKE_EXE% ..\..
|