mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 12:55:45 +00:00
remove unnecessary crosscomp scripts
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
4c8d6fc37f
commit
836163834d
2 changed files with 0 additions and 63 deletions
|
@ -1,34 +0,0 @@
|
||||||
@echo off
|
|
||||||
|
|
||||||
set chain=%1
|
|
||||||
set qt_dir=%2
|
|
||||||
set qt_host=%3
|
|
||||||
set ffmpeg_dir=%4
|
|
||||||
|
|
||||||
if not defined DevEnvDir (
|
|
||||||
CALL "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" %chain%
|
|
||||||
)
|
|
||||||
|
|
||||||
CALL mkdir build
|
|
||||||
|
|
||||||
@REM TODO: enable QtWebEngine and translations, awaiting Qt builds
|
|
||||||
CALL cmake -S . -B build\%chain% ^
|
|
||||||
-DCMAKE_BUILD_TYPE=Release ^
|
|
||||||
-DENABLE_QT_TRANSLATION=OFF ^
|
|
||||||
-DUSE_DISCORD_PRESENCE=ON ^
|
|
||||||
-DYUZU_USE_BUNDLED_QT=OFF ^
|
|
||||||
-DYUZU_USE_QT_MULTIMEDIA=ON ^
|
|
||||||
-DYUZU_USE_QT_WEB_ENGINE=OFF ^
|
|
||||||
-DYUZU_USE_BUNDLED_VCPKG=ON ^
|
|
||||||
-DYUZU_USE_BUNDLED_SDL2=OFF ^
|
|
||||||
-DYUZU_USE_EXTERNAL_SDL2=ON ^
|
|
||||||
-DFFmpeg_PATH=%ffmpeg_dir% ^
|
|
||||||
-DYUZU_ENABLE_LTO=ON ^
|
|
||||||
-G "Ninja" ^
|
|
||||||
-DYUZU_TESTS=OFF ^
|
|
||||||
-DQt6_DIR=%qt_dir% ^
|
|
||||||
-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON ^
|
|
||||||
-DQT_TARGET_PATH=%qt_dir% ^
|
|
||||||
-DQT_HOST_PATH=%qt_host%
|
|
||||||
|
|
||||||
CALL cmake --build build\%chain%
|
|
|
@ -1,29 +0,0 @@
|
||||||
HOST_DIR=$1
|
|
||||||
QT_DIR=$2
|
|
||||||
|
|
||||||
cd eden-windows-msvc
|
|
||||||
cp "/c/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/arm64/dxcompiler.dll" .
|
|
||||||
for i in `$HOST_DIR/bin/windeployqt.exe ./eden.exe --no-plugins --no-compiler-runtime --no-opengl-sw --no-system-d3d-compiler --no-translations --verbose 1 --dry-run | grep "Updating .*dll" | cut -d" " -f2 | cut -d"." -f1-2`
|
|
||||||
do
|
|
||||||
cp $QT_DIR/bin/$i .
|
|
||||||
done
|
|
||||||
|
|
||||||
PLUGIN_DIRS=`$HOST_DIR/bin/windeployqt.exe ./eden.exe --no-libraries --plugindir plugins --no-compiler-runtime --no-opengl-sw --no-system-d3d-compiler --no-translations --verbose 1 --dry-run | grep "Creating directory" | cut -d" " -f3 | cut -d"." -f1`
|
|
||||||
for i in $PLUGIN_DIRS
|
|
||||||
do
|
|
||||||
mkdir -p $i
|
|
||||||
done
|
|
||||||
|
|
||||||
for i in `$HOST_DIR/bin/windeployqt.exe ./eden.exe --no-libraries --no-compiler-runtime --no-opengl-sw --no-system-d3d-compiler --no-translations --list source --dry-run`
|
|
||||||
do
|
|
||||||
PLUGIN=$(cut -d "\\" -f5- <<< $i)
|
|
||||||
cp $QT_DIR/$PLUGIN ./$PLUGIN
|
|
||||||
done
|
|
||||||
|
|
||||||
## Zip
|
|
||||||
cd ..
|
|
||||||
GITDATE=$(git show -s --date=short --format='%ad' | tr -d "-")
|
|
||||||
GITREV=$(git show -s --format='%h')
|
|
||||||
|
|
||||||
BUILD_ZIP="eden-windows-msvc-$GITDATE-$GITREV-aarch64.zip"
|
|
||||||
7z a -tzip artifacts/$BUILD_ZIP eden-windows-msvc/*
|
|
Loading…
Add table
Add a link
Reference in a new issue