diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 18:07:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 18:07:22 +0000 |
commit | c04dcc2e7d834218ef2d4194331e383402495ae1 (patch) | |
tree | 7333e38d10d75386e60f336b80c2443c1166031d /tools/buildsteps/windows/arm-uwp | |
parent | Initial commit. (diff) | |
download | kodi-c04dcc2e7d834218ef2d4194331e383402495ae1.tar.xz kodi-c04dcc2e7d834218ef2d4194331e383402495ae1.zip |
Adding upstream version 2:20.4+dfsg.upstream/2%20.4+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tools/buildsteps/windows/arm-uwp')
7 files changed, 67 insertions, 0 deletions
diff --git a/tools/buildsteps/windows/arm-uwp/BuildSetup.bat b/tools/buildsteps/windows/arm-uwp/BuildSetup.bat new file mode 100644 index 0000000..8fd6e03 --- /dev/null +++ b/tools/buildsteps/windows/arm-uwp/BuildSetup.bat @@ -0,0 +1,19 @@ +@ECHO OFF + +PUSHD %~dp0\.. + +CALL vswhere.bat arm store +IF ERRORLEVEL 1 ( + ECHO ERROR! BuildSetup.bat: Something went wrong when calling vswhere.bat + POPD + EXIT /B 1 +) + +SET cmakeGenerator=Visual Studio %vsver% +SET cmakeArch=ARM +SET TARGET_ARCHITECTURE=arm +SET TARGET_PLATFORM=%TARGET_ARCHITECTURE%-uwp +SET cmakeProps=-DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=%UCRTVersion% + +CALL BuildSetup.bat %* +POPD diff --git a/tools/buildsteps/windows/arm-uwp/bootstrap-addons.bat b/tools/buildsteps/windows/arm-uwp/bootstrap-addons.bat new file mode 100644 index 0000000..0e672f0 --- /dev/null +++ b/tools/buildsteps/windows/arm-uwp/bootstrap-addons.bat @@ -0,0 +1,11 @@ +@ECHO OFF + +PUSHD %~dp0\.. +CALL vswhere.bat arm store +IF ERRORLEVEL 1 ( + ECHO ERROR! bootstrap-addons.bat: Something went wrong when calling vswhere.bat + POPD + EXIT /B 1 +) +CALL bootstrap-addons %* +POPD diff --git a/tools/buildsteps/windows/arm-uwp/download-dependencies.bat b/tools/buildsteps/windows/arm-uwp/download-dependencies.bat new file mode 100644 index 0000000..36b23ff --- /dev/null +++ b/tools/buildsteps/windows/arm-uwp/download-dependencies.bat @@ -0,0 +1,5 @@ +@ECHO OFF + +PUSHD %~dp0\.. +CALL download-dependencies.bat win10-arm +POPD diff --git a/tools/buildsteps/windows/arm-uwp/download-msys2.bat b/tools/buildsteps/windows/arm-uwp/download-msys2.bat new file mode 100644 index 0000000..8c041ba --- /dev/null +++ b/tools/buildsteps/windows/arm-uwp/download-msys2.bat @@ -0,0 +1,5 @@ +@ECHO OFF + +PUSHD %~dp0\.. +CALL download-msys2.bat %* +POPD diff --git a/tools/buildsteps/windows/arm-uwp/make-addons.bat b/tools/buildsteps/windows/arm-uwp/make-addons.bat new file mode 100644 index 0000000..6c23384 --- /dev/null +++ b/tools/buildsteps/windows/arm-uwp/make-addons.bat @@ -0,0 +1,11 @@ +@ECHO OFF + +PUSHD %~dp0\.. +CALL vswhere.bat arm store +IF ERRORLEVEL 1 ( + ECHO ERROR! make-addons.bat: Something went wrong when calling vswhere.bat + POPD + EXIT /B 1 +) +CALL make-addons.bat win10 %* +POPD diff --git a/tools/buildsteps/windows/arm-uwp/make-mingwlibs.bat b/tools/buildsteps/windows/arm-uwp/make-mingwlibs.bat new file mode 100644 index 0000000..6a59615 --- /dev/null +++ b/tools/buildsteps/windows/arm-uwp/make-mingwlibs.bat @@ -0,0 +1,11 @@ +@ECHO OFF + +PUSHD %~dp0\.. +CALL vswhere.bat arm store +IF ERRORLEVEL 1 ( + ECHO ERROR! make-mingwlibs.bat: Something went wrong when calling vswhere.bat + POPD + EXIT /B 1 +) +CALL make-mingwlibs.bat buildArm win10 %* +POPD diff --git a/tools/buildsteps/windows/arm-uwp/prepare-env.bat b/tools/buildsteps/windows/arm-uwp/prepare-env.bat new file mode 100644 index 0000000..354a5cf --- /dev/null +++ b/tools/buildsteps/windows/arm-uwp/prepare-env.bat @@ -0,0 +1,5 @@ +@ECHO OFF + +PUSHD %~dp0\.. +CALL prepare-env.bat +POPD |