changeset 6333 8d541aa4e1da
parent 6251 3e8c673cad58
child 6342 ac83b73f0edd
--- a/README.iOS	Tue Jun 19 13:50:14 2012 -0400
+++ b/README.iOS	Tue Jun 19 18:25:04 2012 -0300
@@ -17,6 +17,26 @@
 	Package a project template together with the SDL for iPhone static libraries and copies of the SDL headers.  The template includes proper references to the SDL library and headers, skeleton code for a basic SDL program, and placeholder graphics for the application icon and startup screen.
+Build SDL for iOS from the command line
+1. cd (PATH WHERE THE SDL CODE IS)/build-scripts
+2. ./
+If everything goes fine, you should see a build/ios directory, inside there's
+two directories "lib" and "include". 
+"include" contains a copy of the SDL headers that you'll need for your project,
+make sure to configure XCode to look for headers there.
+"lib" contains find two files, libSDL2.a and libSDL2main.a, you have to add both 
+to your XCode project. These libraries contain three architectures in them,
+armv6 for legacy devices, armv7, and i386 (for the simulator).
+By default, will autodetect the SDK version you have installed using 
+xcodebuild -showsdks, and build for iOS >= 3.0, you can override this behaviour 
+by setting the MIN_OS_VERSION variable, ie:
 Using the Simple DirectMedia Layer for iOS