fix sdl compile in debug mode
This commit is contained in:
parent
eaf2549e53
commit
bfdd6f0d04
2 changed files with 6 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
|||
#!/bin/bash
|
||||
. ./environment.sh
|
||||
pushd sdl/sdl1.3/Xcode-iPhoneOS/SDL
|
||||
xcodebuild -project SDLiPhoneOS.xcodeproj -target libSDL
|
||||
xcodebuild -project SDLiPhoneOS.xcodeproj -target libSDL -configuration Debug -sdk iphoneos5.0
|
||||
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 sdl/sdl1.3/Xcode-iPhoneOS/SDL/build/Debug-iPhoneOS/libSDL.a $BUILDROOT/lib
|
||||
cp -a sdl/sdl1.3/include $BUILDROOT/include/SDL
|
||||
|
|
|
@ -20,6 +20,10 @@ export KIVYIOSROOT="$ROOT"
|
|||
set -x
|
||||
if [ ! -d $BUILDROOT ]; then
|
||||
try mkdir $BUILDROOT
|
||||
fi
|
||||
if [ ! -d $BUILDROOT/include ]; then
|
||||
try mkdir $BUILDROOT/include
|
||||
fi
|
||||
if [ ! -d $BUILDROOT/lib ]; then
|
||||
try mkdir $BUILDROOT/lib
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue