mirror of https://github.com/axmolengine/axmol.git
Use xcode for jenkins build
This commit is contained in:
parent
860c108f86
commit
18d716cfd2
|
@ -796,6 +796,7 @@
|
||||||
52B47A351A53A43A004E4C60 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52B47A331A534B2B004E4C60 /* Security.framework */; };
|
52B47A351A53A43A004E4C60 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52B47A331A534B2B004E4C60 /* Security.framework */; };
|
||||||
59620E8F1921E5CF002021B6 /* Bug-Child.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 59620E8D1921E5CF002021B6 /* Bug-Child.cpp */; };
|
59620E8F1921E5CF002021B6 /* Bug-Child.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 59620E8D1921E5CF002021B6 /* Bug-Child.cpp */; };
|
||||||
59620E901921E5CF002021B6 /* Bug-Child.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 59620E8D1921E5CF002021B6 /* Bug-Child.cpp */; };
|
59620E901921E5CF002021B6 /* Bug-Child.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 59620E8D1921E5CF002021B6 /* Bug-Child.cpp */; };
|
||||||
|
59E170151AB42EB10007F2BF /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 826294421AAF071500CB7CF7 /* Security.framework */; };
|
||||||
5EBEECB01995247000429821 /* DrawNode3D.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5EBEECAE1995247000429821 /* DrawNode3D.cpp */; };
|
5EBEECB01995247000429821 /* DrawNode3D.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5EBEECAE1995247000429821 /* DrawNode3D.cpp */; };
|
||||||
5EBEECB11995247000429821 /* DrawNode3D.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5EBEECAE1995247000429821 /* DrawNode3D.cpp */; };
|
5EBEECB11995247000429821 /* DrawNode3D.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5EBEECAE1995247000429821 /* DrawNode3D.cpp */; };
|
||||||
826294431AAF071500CB7CF7 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 826294421AAF071500CB7CF7 /* Security.framework */; };
|
826294431AAF071500CB7CF7 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 826294421AAF071500CB7CF7 /* Security.framework */; };
|
||||||
|
@ -1864,6 +1865,7 @@
|
||||||
isa = PBXFrameworksBuildPhase;
|
isa = PBXFrameworksBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
|
59E170151AB42EB10007F2BF /* Security.framework in Frameworks */,
|
||||||
15EFA273198B265A000C57D3 /* libluacocos2d Mac.a in Frameworks */,
|
15EFA273198B265A000C57D3 /* libluacocos2d Mac.a in Frameworks */,
|
||||||
1ABCA2C318CD92420087CE3A /* libcocos2d Mac.a in Frameworks */,
|
1ABCA2C318CD92420087CE3A /* libcocos2d Mac.a in Frameworks */,
|
||||||
1ABCA36118CD9AC00087CE3A /* libz.dylib in Frameworks */,
|
1ABCA36118CD9AC00087CE3A /* libz.dylib in Frameworks */,
|
||||||
|
|
|
@ -1,8 +1,20 @@
|
||||||
#put xctool.sh into your PATH
|
#put xctool.sh into your PATH
|
||||||
|
|
||||||
|
#######
|
||||||
|
# Cmake build
|
||||||
|
#######
|
||||||
|
# DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
# COCOS2DX_ROOT="$DIR"/../../..
|
||||||
|
# cd ${COCOS2DX_ROOT}
|
||||||
|
# mkdir mac-build
|
||||||
|
# cd mac-build
|
||||||
|
# cmake ..
|
||||||
|
# make -j4
|
||||||
|
|
||||||
|
#######
|
||||||
|
# xcode build
|
||||||
|
#######
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
COCOS2DX_ROOT="$DIR"/../../..
|
COCOS2DX_ROOT="$DIR"/../../..
|
||||||
cd ${COCOS2DX_ROOT}
|
xcodebuild -project "$COCOS2DX_ROOT"/build/cocos2d_tests.xcodeproj -scheme "build all tests Mac" clean | xcpretty
|
||||||
mkdir mac-build
|
xcodebuild -project "$COCOS2DX_ROOT"/build/cocos2d_tests.xcodeproj -scheme "build all tests Mac" build | xcpretty
|
||||||
cd mac-build
|
|
||||||
cmake ..
|
|
||||||
make -j4
|
|
||||||
|
|
Loading…
Reference in New Issue