aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/iphone
diff options
context:
space:
mode:
authorVincent Bénony2015-12-03 12:53:41 +0100
committerVincent Bénony2016-01-06 16:17:31 +0100
commit3b5d14b51ad48f98d19132bda47096bab37fb873 (patch)
treebdfe998a8fd5e60bf09b583c5c2847fc4ec66886 /backends/platform/iphone
parent4713f7680212c9448857922e4fbd4c0c7dfa9e92 (diff)
downloadscummvm-rg350-3b5d14b51ad48f98d19132bda47096bab37fb873.tar.gz
scummvm-rg350-3b5d14b51ad48f98d19132bda47096bab37fb873.tar.bz2
scummvm-rg350-3b5d14b51ad48f98d19132bda47096bab37fb873.zip
ISO: Updates instructions for command line compilation
Diffstat (limited to 'backends/platform/iphone')
-rw-r--r--backends/platform/iphone/README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/backends/platform/iphone/README.md b/backends/platform/iphone/README.md
index fef8c72adf..bb7265e6f5 100644
--- a/backends/platform/iphone/README.md
+++ b/backends/platform/iphone/README.md
@@ -11,6 +11,10 @@ First, clone the repository:
$ git clone -b ios-fix --recursive https://github.com/bSr43/scummvm.git
```
+### Compilation from Xcode ###
+
+This is the recommanded way to compile ScummVM, and the only one which makes it possible to run ScummVM on a non-jailbroken device!
+
The next step is to compile the **create_project** tool. Open the Xcode project you'll found in the **devtools/create\_project/xcode/** directory. Once compiled, copy the binary somewhere in your *PATH*, and create a **build** directory somewhere on your harddisk. It is recommended to create this directory next to the cloned repository (they share the same parent).
Execute the following commands in a terminal:
@@ -31,6 +35,20 @@ Now, your **build** directory should contain:
You are ready to compile ScummVM: open the **scummvm.xcodeproj** project, and build it.
+### Compilation from command line ###
+
+For jailbroken devices, it is also possible to compile the project from command line. You'll need some tools, like **ldid**, to fake the code signature.
+
+Open a terminal, and execute the following commands:
+```
+$ cd path_to_the_scummvm_sources
+$ SDKROOT=$(xcrun --sdk iphoneos --show-sdk-path) CC=clang CXX=clang++ ./configure --host=iphone --disable-scalers --disable-mt32emu --enable-release
+$ make iphone
+$ make iphonebundle
+```
+
+At the end of the compilation, you'll find a **ScummVM.app** application: copy it over SSH, and reboot your device.
+
## Usage ##
The game data files can be copied on the iOS device using iTunes. Once done, add your games in ScummVM as usual.