Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
zilongshanren committed Sep 22, 2014
1 parent a3ac6d2 commit 52a0543
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Box2D/build_android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rm -rf build.android/
mkdir build.android
cd build.android

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../android.toolchain.cmake -DANDROID_ABI="armeabi" -DANDROID=1 ..
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../toolchain/android.toolchain.cmake -DANDROID_ABI="armeabi" -DANDROID=1 ..

make

Expand All @@ -28,7 +28,7 @@ mkdir build.android/
cd build.android/

#build for armeabi-v7a
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../android.toolchain.cmake -DANDROID=1 ..
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../toolchain/android.toolchain.cmake -DANDROID=1 ..
make

cd ..
Expand All @@ -40,7 +40,7 @@ cd build.android/
export PATH=$PATH:./android-toolchain-x86/bin
export PATH=$PATH:$ANDROID_NDK/build/tools/
export ANDROID_STANDALONE_TOOLCHAIN=./android-toolchain-x86
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../android.toolchain.cmake -DANDROID_ABI="x86" -DANDROID=1 ..
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../toolchain/android.toolchain.cmake -DANDROID_ABI="x86" -DANDROID=1 ..

make

Expand Down
File renamed without changes.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@


##Build
At first:

```cpp
cd Box2D
```

###Build for Android
```cpp
Expand Down

0 comments on commit 52a0543

Please sign in to comment.