diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2015-12-20 12:03:05 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-12-20 08:06:29 -0800 |
commit | 105d6987595b144fbd17093157a1a059fed6afaa (patch) | |
tree | bb53cc581f4a426283e76b9586912c3704e109ae /packaging/ios/README | |
parent | a639332edf0ac415dfc622f9e79814005731e56d (diff) | |
download | subsurface-105d6987595b144fbd17093157a1a059fed6afaa.tar.gz |
Start the iOS cross compile
The build.sh and readme files are the same as the Android ones
and I'll be changing them over time.
The configure-for-ios.sh script is a file that manages to set
everything, compilers frameworks and such, for iOS compilation.
I'll probably dissecate the configure-for-ios.sh file and put it
back on the build.sh, but not now.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/ios/README')
-rw-r--r-- | packaging/ios/README | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/packaging/ios/README b/packaging/ios/README new file mode 100644 index 000000000..6c645966a --- /dev/null +++ b/packaging/ios/README @@ -0,0 +1,41 @@ +Tool repo to crosscompile subsurface to android-arm +--------------------------------------------------- + +Dependencies: + +1. android_sdk, android_ndk and Qt5.5. See step 0. +2. cmake +3. ant +4. Java JDK +5. working adb is recommended +6. dependencies of libdivecomputer and subsurface - + visit http://subsurface.hohndel.org/documentation/building/ + +Steps to install: + +Step 0. +Grab.. +Android ndk from: http://developer.android.com/tools/sdk/ndk/index.html +Android sdk from: http://developer.android.com/sdk/index.html#download +And QT for android from: http://qt-project.org/downloads + +Step 1. +Extract and install these into known directories. +Have a look in the top of build.sh for where the cross build tool expects +them. By default thats is: ../../../android-ndk-r9d ../../../android-sdk-linux +and ../../../Qt/5.5 + +Step 2. +Run bash build.sh in the terminal. By default it builds for arm but you +can pass x86 as first arg to build.sh to have it build for x86. Nice when +debugging in a fast emulator. +The script will download and build the whole dependency chain. + +After this, subsurface will be built for android. + +The output folder is subsurface-build-arm/android_build and your newly +created apk shows up as: +subsurface-build-arm/android_build/bin/QtApp-debug.apk + +Where the x86 apk shows up when built for x86 is left as a exercise for the +reader. |