From d0f1275e6133acbb5363fadcf86c4e7445ba32c8 Mon Sep 17 00:00:00 2001 From: Andrey Filipenkov Date: Tue, 23 Nov 2021 10:22:42 +0300 Subject: [PATCH] add TBB and LuaJIT dependencies --- configure_ios.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure_ios.sh b/configure_ios.sh index efa253cd1..f981d49d0 100755 --- a/configure_ios.sh +++ b/configure_ios.sh @@ -4,7 +4,13 @@ boostPrefix=~/dev/other/Apple-Boost-BuildScript/build-static/boost/1.75.0/ios/de ffmpegDir=~/dev/ios/vcmi-ios-deps/mobile-ffmpeg-min-universal-4.4 sdlLibsDir=~/dev/ios/vcmi-ios-deps/SDL2-lib qtDir=~/dev/Qt-libs/5.15.2/ios -prefixPath="$boostPrefix;$ffmpegDir;$sdlLibsDir;$qtDir" +tbbDir=~/dev/ios/vcmi-ios-deps/oneTBB-2021.4.0/build/install +luajitDir=~/dev/ios/vcmi-ios-deps/LuaJIT-2.1/ios64 +if [[ "$1" ]]; then + tbbDir=~/dev/ios/vcmi-ios-deps/oneTBB-2021.4.0/build-sim/install + luajitDir=~/dev/ios/vcmi-ios-deps/LuaJIT-2.1/sim64 +fi +prefixPath="$boostPrefix;$ffmpegDir;$sdlLibsDir;$qtDir;$tbbDir;$luajitDir" # prefixPath="$boostPrefix;$sdlLibsDir" # xcodeMajorVersion=$(xcodebuild -version | fgrep Xcode | cut -d ' ' -f 2 | cut -d . -f 1)