Browse Source

build: activate the iPhone autobuilder.

legacy
Sam Hocevar sam 12 years ago
parent
commit
e48dbfb8d9
2 changed files with 17 additions and 12 deletions
  1. +7
    -12
      build/lol-build
  2. +10
    -0
      build/run-bitten.sh

+ 7
- 12
build/lol-build View File

@@ -98,9 +98,6 @@ bootstrap()
{
cd "$top_srcdir"
case "$platform" in
ios-arm)
# No bootstrapping needed
;;
*)
PATH="$PATH" M4PATH="$M4PATH" ./bootstrap
;;
@@ -177,7 +174,13 @@ configure()
esac
case "$platform" in
ios-arm)
# No configuration needed
XCODE="/Applications/Xcode.app/Contents/Developer"
SDKVER="6.1"
DEVROOT="$XCODE/Platforms/iPhoneOS.platform/Developer"
SDKROOT="$DEVROOT/SDKs/iPhoneOS$SDKVER.sdk"
CC="$XCODE/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
CXX="$XCODE/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++"
./configure --host=armv7-apple-darwin10 CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" CC="$CC" CXX="$CXX"
;;
android-arm)
CPPFLAGS="$CPPFLAGS -Wno-psabi -I$ANDROID_NDK_ROOT/sources/cxx-stl/stlport/stlport -fpic -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64"
@@ -240,10 +243,6 @@ build()
{
cd "$top_srcdir"
case "$platform" in
ios-arm)
cd monsterz/ios
xcodebuild -configuration Release -sdk iphonesimulator4.3
;;
*)
make -j$LOL_PARALLEL
;;
@@ -287,10 +286,6 @@ clean()
{
cd "$top_srcdir"
case "$platform" in
ios-arm)
cd monsterz/ios
xcodebuild -configuration Release -sdk iphonesimulator4.3 clean
;;
*)
make distclean
;;


+ 10
- 0
build/run-bitten.sh View File

@@ -137,6 +137,16 @@ elif [ -n "$VS90COMNTOOLS" ]; then
fi
append ""

#
# iOS development kit
#

append "[ios]"
if [ -d "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk" ]; then
append "version = 6.1"
fi
append ""

#
# Xbox development kit
#


Loading…
Cancel
Save