comparison mupdf-source/thirdparty/zxing-cpp/wrappers/winrt/BuildWinCom.bat @ 3:2c135c81b16c

MERGE: upstream PyMuPDF 1.26.4 with MuPDF 1.26.7
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:44:09 +0200
parents b50eed0cc0ef
children
comparison
equal deleted inserted replaced
0:6015a75abc2d 3:2c135c81b16c
1 @echo off
2
3 set CMAKE_EXE="C:\Program Files\CMake\bin\cmake.exe"
4
5 rem Path to folder where the result should be copied to
6 rem This should be the path to the folder containing SDKManifest.xml
7 set DESTINATION="%~dp0\UAP\v0.8.0.0\ExtensionSDKs\ZXingWinRT\1.0.0.0"
8
9 pushd %DESTINATION%
10 set DESTINATION=%CD%
11 popd
12
13 set BUILD_LOC=%~dp0..\..\build_uwp_x86
14 md %BUILD_LOC%
15 pushd %BUILD_LOC%
16 %CMAKE_EXE% -G "Visual Studio 15 2017" -A Win32 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0 -DEXTENSION_SDK_OUTPUT="%DESTINATION%" ..\wrappers\winrt
17 %CMAKE_EXE% --build . --config Release
18 %CMAKE_EXE% --build . --config RelWithDebInfo
19 popd
20 rd /s /q %BUILD_LOC%
21
22 set BUILD_LOC=%~dp0..\..\build_uwp_x64
23 md %BUILD_LOC%
24 pushd %BUILD_LOC%
25 %CMAKE_EXE% -G "Visual Studio 15 2017" -A x64 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0 -DEXTENSION_SDK_OUTPUT="%DESTINATION%" ..\wrappers\winrt
26 %CMAKE_EXE% --build . --config Release
27 %CMAKE_EXE% --build . --config RelWithDebInfo
28 popd
29 rd /s /q %BUILD_LOC%
30
31 set BUILD_LOC=%~dp0..\..\build_uwp_arm
32 md %BUILD_LOC%
33 pushd %BUILD_LOC%
34 %CMAKE_EXE% -G "Visual Studio 15 2017" -A ARM -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0 -DEXTENSION_SDK_OUTPUT="%DESTINATION%" ..\wrappers\winrt
35 %CMAKE_EXE% --build . --config Release
36 %CMAKE_EXE% --build . --config RelWithDebInfo
37 popd
38 rd /s /q %BUILD_LOC%
39
40 set BUILD_LOC=%~dp0..\..\build_uwp_arm64
41 md %BUILD_LOC%
42 pushd %BUILD_LOC%
43 %CMAKE_EXE% -G "Visual Studio 15 2017" -A ARM64 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0 -DEXTENSION_SDK_OUTPUT="%DESTINATION%" ..\wrappers\winrt
44 %CMAKE_EXE% --build . --config Release
45 %CMAKE_EXE% --build . --config RelWithDebInfo
46 popd
47 rd /s /q %BUILD_LOC%