Mercurial > sdl-ios-xcode
comparison README.iphoneos @ 2465:f429ccf8e35f gsoc2008_iphone
Added instruction to set the active SDK
author | Holmes Futrell <hfutrell@umail.ucsb.edu> |
---|---|
date | Mon, 18 Aug 2008 18:47:24 +0000 |
parents | c330dcd78e3a |
children |
comparison
equal
deleted
inserted
replaced
2464:836790b9fcf1 | 2465:f429ccf8e35f |
---|---|
2 Building the Simple DirectMedia Layer for iPhone OS 2.0 | 2 Building the Simple DirectMedia Layer for iPhone OS 2.0 |
3 ============================================================================== | 3 ============================================================================== |
4 | 4 |
5 Requirements: Mac OS X v10.5 or later and the iPhone SDK. | 5 Requirements: Mac OS X v10.5 or later and the iPhone SDK. |
6 | 6 |
7 To build SDL for iPhone, just open the XCode Project (XCodeiPhoneOS/SDL/SDLiPhoneOS.xcodeproj), select the target you wish to build, and hit 'build'. You can also build in a CLI environment using the xcodebuild command line tool, if you wish. | 7 Instructions: |
8 1. Open SDLiPhoneOS.xcodeproj (located in XCodeiPhoneOS/SDL) in XCode. | |
9 2. Set Project->Set Active SDK to "Use Project Settings" | |
10 3. Select your desired target, and hit build. | |
8 | 11 |
9 There are three build targets: | 12 There are three build targets: |
10 - StaticLibiPhoneOS: | 13 - StaticLibiPhoneOS: |
11 Build SDL as a statically linked (armv6) library for iPhone OS 2.0. | 14 Build SDL as a statically linked (armv6) library for iPhone OS 2.0. |
12 - StaticLibSimulator: | 15 - StaticLibSimulator: |