mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
2e18299897
issues to solve: - dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. 13CPackForLobby, 20LobbyClientConnected, 20LobbyClientConnected. - error setting socket option: set_option: No buffer space available
22 lines
914 B
Bash
Executable File
22 lines
914 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
boostPrefix=~/dev/other/Apple-Boost-BuildScript/build/boost/1.75.0/ios/debug/prefix
|
|
ffmpegDir=~/dev/ios/vcmi-ios-deps/mobile-ffmpeg-min-universal
|
|
sdlLibsDir=~/dev/ios/vcmi-ios-deps/SDL2-lib
|
|
|
|
srcDir="../vcmi"
|
|
/Users/Shared/xbmc-depends/x86_64-darwin19.6.0-native/bin/cmake "$srcDir" -G Xcode \
|
|
-DENABLE_LAUNCHER=0 \
|
|
-Wno-dev \
|
|
-DCMAKE_TOOLCHAIN_FILE="$srcDir/ios.toolchain.cmake" \
|
|
-DPLATFORM=${1:-OS64} \
|
|
-DDEPLOYMENT_TARGET=9.0 \
|
|
-DENABLE_BITCODE=0 \
|
|
-DCMAKE_BINARY_DIR=$(pwd) \
|
|
-DCMAKE_PREFIX_PATH="$boostPrefix;$ffmpegDir;$sdlLibsDir" \
|
|
-DSDL2_INCLUDE_DIR=~/dev/ios/vcmi-ios-deps/SDL/include \
|
|
-DSDL2_IMAGE_INCLUDE_DIR=~/dev/ios/vcmi-ios-deps/SDL_image-release-2.0.5 \
|
|
-DSDL2_MIXER_INCLUDE_DIR=~/dev/ios/vcmi-ios-deps/SDL_mixer-release-2.0.4 \
|
|
-DSDL2_TTF_INCLUDE_DIR=~/dev/ios/vcmi-ios-deps/SDL_ttf-release-2.0.15 \
|
|
-DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=NO
|