kivy-ios/build_sdl.sh
Mathieu Virbel f21b1a61e3 add environment.sh to create initial build directory, and set common env var
KIVYIOSROOT represent the root of this project. It can be used in external project to refer of this project (like using build/lib directory, or build/include)
+ change current build_* to copy include and lib in a common build/ directory
2011-12-01 18:16:46 +01:00

8 lines
333 B
Bash
Executable file

#!/bin/bash
. ./environmnent.sh
pushd sdl/sdl1.3/Xcode-iPhoneOS/SDL
xcodebuild -project SDLiPhoneOS.xcodeproj -alltargets
popd
#the binarie is under sdl/sdl1.3/Xcode-iPhoneOS/SDL/build/Release-Universal/
cp sdl/sdl1.3/Xcode-iPhoneOS/SDL/build/Release-iPhoneOS/libSDL.a $BUILDROOT/lib
cp -a sdl/sdl1.3/include $BUILDROOT/include/SDL