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/win32 | |
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 '')
15 files changed, 145 insertions, 0 deletions
diff --git a/tools/buildsteps/windows/win32-uwp/BuildSetup.bat b/tools/buildsteps/windows/win32-uwp/BuildSetup.bat new file mode 100644 index 0000000..5ddf234 --- /dev/null +++ b/tools/buildsteps/windows/win32-uwp/BuildSetup.bat @@ -0,0 +1,18 @@ +@ECHO OFF + +PUSHD %~dp0\.. +CALL vswhere.bat x86 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=Win32 +SET TARGET_ARCHITECTURE=x86 +SET TARGET_PLATFORM=win32-uwp +SET cmakeProps=-DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=%UCRTVersion% + +CALL BuildSetup.bat %* +POPD diff --git a/tools/buildsteps/windows/win32-uwp/bootstrap-addons.bat b/tools/buildsteps/windows/win32-uwp/bootstrap-addons.bat new file mode 100644 index 0000000..0f67ddb --- /dev/null +++ b/tools/buildsteps/windows/win32-uwp/bootstrap-addons.bat @@ -0,0 +1,11 @@ +@ECHO OFF + +PUSHD %~dp0\.. +CALL vswhere.bat x86 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/win32-uwp/download-dependencies.bat b/tools/buildsteps/windows/win32-uwp/download-dependencies.bat new file mode 100644 index 0000000..24ed2f1 --- /dev/null +++ b/tools/buildsteps/windows/win32-uwp/download-dependencies.bat @@ -0,0 +1,5 @@ +@ECHO OFF + +PUSHD %~dp0\.. +CALL download-dependencies.bat win10-win32 +POPD diff --git a/tools/buildsteps/windows/win32-uwp/download-msys2.bat b/tools/buildsteps/windows/win32-uwp/download-msys2.bat new file mode 100644 index 0000000..8c041ba --- /dev/null +++ b/tools/buildsteps/windows/win32-uwp/download-msys2.bat @@ -0,0 +1,5 @@ +@ECHO OFF + +PUSHD %~dp0\.. +CALL download-msys2.bat %* +POPD diff --git a/tools/buildsteps/windows/win32-uwp/make-addons.bat b/tools/buildsteps/windows/win32-uwp/make-addons.bat new file mode 100644 index 0000000..0893cee --- /dev/null +++ b/tools/buildsteps/windows/win32-uwp/make-addons.bat @@ -0,0 +1,11 @@ +@ECHO OFF + +PUSHD %~dp0\.. +CALL vswhere.bat x86 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/win32-uwp/make-mingwlibs.bat b/tools/buildsteps/windows/win32-uwp/make-mingwlibs.bat new file mode 100644 index 0000000..f47434e --- /dev/null +++ b/tools/buildsteps/windows/win32-uwp/make-mingwlibs.bat @@ -0,0 +1,11 @@ +@ECHO OFF + +PUSHD %~dp0\.. +CALL vswhere.bat x86 store +IF ERRORLEVEL 1 ( + ECHO ERROR! make-mingwlibs.bat: Something went wrong when calling vswhere.bat + POPD + EXIT /B 1 +) +CALL make-mingwlibs.bat win10 %* +POPD diff --git a/tools/buildsteps/windows/win32-uwp/prepare-env.bat b/tools/buildsteps/windows/win32-uwp/prepare-env.bat new file mode 100644 index 0000000..354a5cf --- /dev/null +++ b/tools/buildsteps/windows/win32-uwp/prepare-env.bat @@ -0,0 +1,5 @@ +@ECHO OFF + +PUSHD %~dp0\.. +CALL prepare-env.bat +POPD diff --git a/tools/buildsteps/windows/win32/BuildSetup.bat b/tools/buildsteps/windows/win32/BuildSetup.bat new file mode 100644 index 0000000..0c10f43 --- /dev/null +++ b/tools/buildsteps/windows/win32/BuildSetup.bat @@ -0,0 +1,18 @@ +@ECHO OFF + +PUSHD %~dp0\.. + +CALL vswhere.bat x86 +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=Win32 +SET TARGET_ARCHITECTURE=x86 +SET TARGET_PLATFORM=%TARGET_ARCHITECTURE% + +CALL BuildSetup.bat %* +POPD diff --git a/tools/buildsteps/windows/win32/bootstrap-addons.bat b/tools/buildsteps/windows/win32/bootstrap-addons.bat new file mode 100644 index 0000000..5918ad9 --- /dev/null +++ b/tools/buildsteps/windows/win32/bootstrap-addons.bat @@ -0,0 +1,11 @@ +@ECHO OFF + +PUSHD %~dp0\.. +CALL vswhere.bat x86 +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/win32/download-dependencies.bat b/tools/buildsteps/windows/win32/download-dependencies.bat new file mode 100644 index 0000000..ecb5897 --- /dev/null +++ b/tools/buildsteps/windows/win32/download-dependencies.bat @@ -0,0 +1,5 @@ +@ECHO OFF + +PUSHD %~dp0\.. +CALL download-dependencies.bat win32 +POPD diff --git a/tools/buildsteps/windows/win32/download-msys2.bat b/tools/buildsteps/windows/win32/download-msys2.bat new file mode 100644 index 0000000..8c041ba --- /dev/null +++ b/tools/buildsteps/windows/win32/download-msys2.bat @@ -0,0 +1,5 @@ +@ECHO OFF + +PUSHD %~dp0\.. +CALL download-msys2.bat %* +POPD diff --git a/tools/buildsteps/windows/win32/make-addons.bat b/tools/buildsteps/windows/win32/make-addons.bat new file mode 100644 index 0000000..7efc4ca --- /dev/null +++ b/tools/buildsteps/windows/win32/make-addons.bat @@ -0,0 +1,11 @@ +@ECHO OFF + +PUSHD %~dp0\.. +CALL vswhere.bat x86 +IF ERRORLEVEL 1 ( + ECHO ERROR! make-addons.bat: Something went wrong when calling vswhere.bat + POPD + EXIT /B 1 +) +CALL make-addons.bat %* +POPD diff --git a/tools/buildsteps/windows/win32/make-mingwlibs.bat b/tools/buildsteps/windows/win32/make-mingwlibs.bat new file mode 100644 index 0000000..889b27e --- /dev/null +++ b/tools/buildsteps/windows/win32/make-mingwlibs.bat @@ -0,0 +1,11 @@ +@ECHO OFF + +PUSHD %~dp0\.. +CALL vswhere.bat x86 +IF ERRORLEVEL 1 ( + ECHO ERROR! make-mingwlibs.bat: Something went wrong when calling vswhere.bat + POPD + EXIT /B 1 +) +CALL make-mingwlibs.bat %* +POPD diff --git a/tools/buildsteps/windows/win32/prepare-env.bat b/tools/buildsteps/windows/win32/prepare-env.bat new file mode 100644 index 0000000..354a5cf --- /dev/null +++ b/tools/buildsteps/windows/win32/prepare-env.bat @@ -0,0 +1,5 @@ +@ECHO OFF + +PUSHD %~dp0\.. +CALL prepare-env.bat +POPD diff --git a/tools/buildsteps/windows/win32/run-tests.bat b/tools/buildsteps/windows/win32/run-tests.bat new file mode 100644 index 0000000..1c07563 --- /dev/null +++ b/tools/buildsteps/windows/win32/run-tests.bat @@ -0,0 +1,13 @@ +@ECHO OFF + +PUSHD %~dp0\.. +CALL vswhere.bat x86 +IF ERRORLEVEL 1 ( + ECHO ERROR! run-tests.bat: Something went wrong when calling vswhere.bat + POPD + EXIT /B 1 +) +SET TARGET_PLATFORM=x86 + +CALL run-tests.bat +POPD |