Fix most build errors

Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
crueter 2026-03-26 02:53:43 -04:00 committed by lizzie
parent 763ca682b6
commit f7a875e97b
19 changed files with 57 additions and 70 deletions

View file

@ -6,9 +6,9 @@
WORK_DIR="$PWD"
xcrun --sdk iphoneos --show-sdk-path
# TODO(crueter): FFmpeg for iOS
# TODO: support iphonesimulator sdk
cmake -G Xcode -B build \
cmake -G Xcode -B build/ios \
-DCMAKE_TOOLCHAIN_FILE="$WORK_DIR/.ci/ios/ios-toolchain.cmake" \
-DPLATFORM=OS64 \
-DARCHS="arm64" \
@ -19,8 +19,7 @@ cmake -G Xcode -B build \
-DENABLE_QT=OFF \
-DENABLE_WEB_SERVICE=OFF \
-DENABLE_CUBEB=OFF \
-DYUZU_USE_EXTERNAL_FFMPEG=ON \
-DYUZU_USE_EXTERNAL_SDL2=ON \
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_BUILD_TYPE=Release \
"$@"
cmake --build build -t eden-ios
cmake --build build/ios -t eden-ios --config Release

View file

@ -157,7 +157,7 @@
# command.
#
cmake_minimum_required(VERSION 3.8.0)
cmake_minimum_required(VERSION 3.10)
# CMake invokes the toolchain file twice during the first build, but only once during subsequent rebuilds.
# NOTE: To improve single-library build-times, provide the flag "OS_SINGLE_BUILD" as a build argument.