Skip to content

Commit

Permalink
modify config scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
zilongshanren committed Sep 22, 2014
1 parent 0d0f2c3 commit 037026e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@
/Box2D/build.sh
/Box2D/android-toolchain-x86/
/Box2D/android-toolchain/
/Box2D/prebuilt/ios/
/Box2D/prebuilt/mac/
3 changes: 3 additions & 0 deletions Box2D/build_android.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/sh


export ANDROID_NDK=$HOME/AndroidDev/android-ndk-r9d/
ANDROID_API_LEVEL=19

Expand Down Expand Up @@ -47,3 +48,5 @@ make
cd ..
# ndk-depends libs/x86/libChipmunk.a
rm -rf build.android/

mv libs prebuilt/android/
4 changes: 3 additions & 1 deletion Box2D/build_iosmac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ LIBNAME="box2d"
IOS_SDK_VERSION="7.1"

# use ios-cmake to generate ios project
rm -rf prebuilt
rm -rf prebuilt/ios
rm -rf prebuilt/mac

rm -rf build.ios
mkdir build.ios
cd build.ios
Expand Down

0 comments on commit 037026e

Please sign in to comment.