subsurface/packaging/ios
Dirk Hohndel 8ddb2ebd6b iOS build: hack to build and install libsqlite3.a
Building the iOS command line utility fails. But frankly, we don't need that,
anyway. I cannot figure out how to tell sqlite that all I want is the library,
so I'm working around that by first building the library, then pretending that
sqlite3 was indeed built in order to be able to run make install. Horrible,
ugly, stupid. But it seems to work.

Also cleaned up the whitespace.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-20 10:25:10 -08:00
..
build.sh iOS build: hack to build and install libsqlite3.a 2015-12-20 10:25:10 -08:00
configure-for-ios.sh Start the iOS cross compile 2015-12-20 08:06:29 -08:00
README iOS build: make the README a bit more useful 2015-12-20 08:28:53 -08:00

Tool repo to crosscompile subsurface for iOS
--------------------------------------------

Dependencies:

0. This only works on a Mac
1. XCode with iOS SDK and Qt5.5. See below
2. cmake
3. ant
4. dependencies of libdivecomputer and subsurface -
   visit http://subsurface.hohndel.org/documentation/building/

Steps to install:

Step 1.
Install current XCode with the iOS SDK
And QT for android from: http://qt-project.org/downloads, including the iOS bits

Step 2.
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: ../../../Qt/5.5

Step 2.
Run bash build.sh in the terminal.
The script will download and build the whole dependency chain.

After this, Subsurface-mobile will be built for iOS.

The output folder is subsurface-build-ios and your newly created package shows
up as:
subsurface-build-ios/.... something