File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed
Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,24 @@ matrix:
5050 env : CONFIG=Release
5151 - os : osx
5252 compiler : clang
53- env : CONFIG=Release
53+ env :
54+ - CONFIG=Release
55+ - IOS=false
5456 - os : osx
5557 compiler : clang
56- env : CONFIG=Debug
58+ env :
59+ - CONFIG=Debug
60+ - IOS=false
61+ - os : osx
62+ compiler : clang
63+ env :
64+ - CONFIG=Release
65+ - IOS=true
66+ - os : osx
67+ compiler : clang
68+ env :
69+ - CONFIG=Debug
70+ - IOS=true
5771
5872script :
5973
@@ -67,6 +81,10 @@ script:
6781 fi
6882 - |
6983 if [ "$TRAVIS_OS_NAME" = "osx" ]; then
70- cmake .. -G "Xcode"
84+ if [ "$IOS" = "true" ]
85+ cmake .. -DCMAKE_TOOLCHAIN_FILE=../DiligentCore/ios.toolchain.cmake -DIOSPLATFORM=OS -G "Xcode"
86+ else
87+ cmake .. -G "Xcode"
88+ fi
7189 cmake --build . --config ${CONFIG}
7290 fi
You can’t perform that action at this time.
0 commit comments