Improved Readme a bit, Commander Genius update

This commit is contained in:
Gerhard Stein
2017-10-14 14:00:46 +02:00
parent 4b47ea502c
commit c66e3d5ae1
6 changed files with 12 additions and 10 deletions

View File

@@ -7,10 +7,10 @@ AppName="Commander Genius"
AppFullName=net.sourceforge.clonekeenplus
# Application version code (integer)
AppVersionCode=199200
AppVersionCode=199700
# Application user-visible version name (string)
AppVersionName="1.9.9.2 Beta"
AppVersionName="1.9.9.7 Beta"
# Specify path to download application data in zip archive in the form 'Description|URL|MirrorURL^Description2|URL2|MirrorURL2^...'
# If you'll start Description with '!' symbol it will be enabled by default, other downloads should be selected by user from startup config menu
@@ -215,7 +215,7 @@ CompiledLibraries="sdl_image boost_system crypto ssl curl vorbis ogg"
CustomBuildScript=n
# Aditional CFLAGS for application
AppCflags='-frtti -fexceptions -finline-functions -DOGG=1 -DDOWNLOADER=1 -DANDROID=1 -DREFKEEN_VER_KDREAMS -DGRMODE=EGAGR -DREFKEEN_VER_KDREAMS_ANYEGA_ALL -DIOAPI_NO_64 -DBUILD_TYPE=LINUX -DTARGET_LNX=1 -DNOTYPESAVE -Werror=strict-aliasing -Werror=cast-align -Werror=pointer-arith -Werror=address -std=c++11 -Ijni/../jni/application/commandergenius/commandergenius/GsKit -Ijni/vorbis/include/vorbis -Ijni/curl/include'
AppCflags='-frtti -fexceptions -finline-functions -DOGG=1 -DUSE_FILE32API -DDOWNLOADER=1 -DANDROID=1 -DREFKEEN_VER_KDREAMS -DGRMODE=EGAGR -DREFKEEN_VER_KDREAMS_ANYEGA_ALL -DIOAPI_NO_64 -DBUILD_TYPE=LINUX -DTARGET_LNX=1 -DNOTYPESAVE -Werror=strict-aliasing -Werror=cast-align -Werror=pointer-arith -Werror=address -std=c++11 -Ijni/../jni/application/commandergenius/commandergenius/GsKit -Ijni/vorbis/include/vorbis -Ijni/curl/include'
# Additional LDFLAGS for application
@@ -227,7 +227,7 @@ AppLdflags='-lz -lvorbis -logg'
AppOverlapsSystemHeaders=
# Build only following subdirs (empty will build all dirs, ignored with custom script)
AppSubdirsBuild='commandergenius/src/* commandergenius/lib/*'
AppSubdirsBuild='commandergenius/src/* commandergenius/GsKit/*'
# Exclude these files from build
AppBuildExclude='commandergenius/src/engine/dbfusion'

View File

@@ -11,8 +11,8 @@ Installation
============
Install latest Android SDK and NDK from http://developer.android.com/index.html
Add both to your PATH env variable 0 you sohuld be albe to run commands 'ndk-build' and 'android'.
You will need to install Java Ant too.
Add both to your PATH env variable 0 you should be able to run commands 'ndk-build' and 'android'.
You will need to install Gradle also.
it is recommended to install OpenJDK and its development files.
On RPM based distros they are usually called java-x.x.x-openjdk and java-x.x.x-openjdk-devel.
On Debian or Ubuntu you install them like this: sudo apt-get install openjdk-8-jdk ant
@@ -29,10 +29,12 @@ How to compile demo application
===============================
Launch commands
rm project/jni/application/src
ln -s ballfield project/jni/application/src
./changeAppSettings.sh -a
android update project -p project
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,
create Android package file project/bin/MainActivity-debug.apk,