make_uwp.bat 913 B

12345678910111213141516171819202122232425
  1. mkdir build_uwp & pushd build_uwp
  2. cmake -G "Visual Studio 16 2019" -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0 ..
  3. popd
  4. cmake --build build_uwp --config Release
  5. md Plugins\WSA\x86
  6. copy /Y build_uwp\Release\RecastDll.dll Plugins\WSA\x86\RecastDll.dll
  7. rmdir /S /Q build_uwp
  8. mkdir build_uwp64 & pushd build_uwp64
  9. cmake -G "Visual Studio 16 2019 Win64" -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0 ..
  10. popd
  11. cmake --build build_uwp64 --config Release
  12. md Plugins\WSA\x64
  13. copy /Y build_uwp64\Release\RecastDll.dll Plugins\WSA\x64\RecastDll.dll
  14. rmdir /S /Q build_uwp64
  15. mkdir build_uwp_arm & pushd build_uwp_arm
  16. cmake -G "Visual Studio 16 2019 ARM" -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0 ..
  17. popd
  18. cmake --build build_uwp_arm --config Release
  19. md Plugins\WSA\ARM
  20. copy /Y build_uwp_arm\Release\RecastDll.dll Plugins\WSA\ARM\RecastDll.dll
  21. rmdir /S /Q build_uwp_arm
  22. pause