1mkdir build_winrt_arm
2cd build_winrt_arm
3
4set msvc_path=C:\Program Files\Microsoft Visual Studio 11.0
5
6call "%msvc_path%\Common7\Tools\VsDevCmd.bat"
7call "%msvc_path%\VC\bin\x86_arm\vcvarsx86_arm.bat"
8
9cmake.exe -GNinja -DCMAKE_BUILD_TYPE=Release -DENABLE_WINRT_MODE=ON -DWITH_FFMPEG=OFF -DWITH_MSMF=OFF -DWITH_DSHOW=OFF -DWITH_VFW=OFF -DWITH_OPENEXR=OFF -DWITH_CUDA=OFF -DBUILD_opencv_gpu=OFF -DBUILD_opencv_python=OFF -DBUILD_opencv_java=OFF -DCMAKE_TOOLCHAIN_FILE=..\winrt\arm.winrt.toolchain.cmake  %* ..\..
10