Refine the build system

This commit is contained in:
faywong
2013-04-14 23:38:43 +08:00
parent 5dd93c9667
commit 3a2152561f
2 changed files with 1330 additions and 6 deletions

1320
build/envsetup.sh Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -30,7 +30,7 @@ How to compile demo application
Launch commands Launch commands
rm project/jni/application/src rm project/jni/application/src
ln -s ballfield project/jni/application/src ln -s ballfield project/jni/application/src
./ChangeAppSettings.sh -a ./changeAppSettings.sh -a
android update project -p project -t android-15 android update project -p project -t android-15
Then edit file build.sh if needed to add NDK dir to your PATH, then launch it. Then edit file build.sh if needed to add NDK dir to your PATH, then launch it.
It will compile a bunch of libs under project/libs/armeabi, It will compile a bunch of libs under project/libs/armeabi,
@@ -59,6 +59,10 @@ to compile it remove project/jni/application/src symlink and make new one pointi
Note that GL ES is NOT pure OpenGL - there are no glBegin() and glEnd() call and other widely used functions, Note that GL ES is NOT pure OpenGL - there are no glBegin() and glEnd() call and other widely used functions,
and generally it will take a lot of effort to port OpenGL application to GL ES. and generally it will take a lot of effort to port OpenGL application to GL ES.
How to compile a specific SDL based application
===============================================
. build/envsetup.sh
build
How to compile your own application How to compile your own application
=================================== ===================================