shithub: openh264

Download patch

ref: d767e216a8312907dd8c03f12f3e4741b603c852
parent: 6e9df6627280cd89ca27a9417482c01b6201f20c
parent: ea40ce07a8b12df7f68ea1af6a8715d7a012b214
author: Ethan Hugg <[email protected]>
date: Fri Feb 28 08:33:13 EST 2014

Merge pull request #374 from mstorsjo/ios-build-docs

Update the readme about building for iOS

--- a/README.md
+++ b/README.md
@@ -39,7 +39,7 @@
 - Mac OS X 64-bit and 32-bit
 - Linux 64-bit and 32-bit
 - Android 32-bit
-- iOS 64-bit and 32-bit (not supported yet, may be added in the future)
+- iOS 64-bit and 32-bit
 
 Processor Support
 -----------------
@@ -66,6 +66,24 @@
 ARCH specifies the architecture of android device. Currently only arm and x86 are supported, the default is arm.
 NDKLEVEL specifies android api level, the api level can be 12-19, the default is 12.
 GCCVERSION specifies which gcc in NDK is used, the default is 4.8.
+
+For iOS Builds
+--------------
+You can build the libraries and demo applications using xcode project files
+located in codec/build/iOS/dec and codec/build/iOS/enc.
+
+You can also build the libraries (but not the demo applications) using the
+make based build system from the command line. Build with
+
+'make OS=ios ARCH=**ARCH**'
+
+Valid values for **ARCH** are the normal iOS architecture names such as
+armv7, armv7s, arm64, and i386 and x86_64 for the simulator. Additionally,
+one might need to add 'SDK=X.Y' to the make command line in case the default
+SDK version isn't available. Another settable iOS specific parameter
+is SDK_MIN, specifying the minimum deployment target for the built library.
+For other details on building using make on the command line, see
+'For All Platforms' below.
 
 For Windows Builds
 ------------------