mirror of https://github.com/axmolengine/axmol.git
Use ios.toolchain.cmake
This commit is contained in:
parent
e1d937bb1a
commit
3c71559b17
|
@ -70,8 +70,7 @@ function build_ios_cmake()
|
|||
mkdir -p ios_cmake_build
|
||||
cd ios_cmake_build
|
||||
# cmake .. -GXcode -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos
|
||||
cmake .. -GXcode -DCMAKE_TOOLCHAIN_FILE=../cmake/ios.toolchain.cmake -DCMAKE_SYSTEM_NAME=iOS -DPLATFORM=OS
|
||||
# too much logs on console when "cmake --build ."
|
||||
cmake .. -GXcode -DCMAKE_TOOLCHAIN_FILE=../cmake/ios.toolchain.cmake -DCMAKE_SYSTEM_NAME=iOS -DPLATFORM=OS -DENABLE_ARC=0 # too much logs on console when "cmake --build ."
|
||||
cmake --build . --config Release -- -quiet -jobs $NUM_OF_CORES -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)"
|
||||
|
||||
#xcodebuild -project Cocos2d-x.xcodeproj -alltargets -jobs $NUM_OF_CORES -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)" build | xcpretty
|
||||
|
|
Loading…
Reference in New Issue