Mercurial > sdl-ios-xcode
view .DISABLED-hgeol @ 5127:b6c7a6b07ebf
Updated main.c for API changes
Kees Bakker to sdl
The main.c for the template is still targeting SDL1.2. Here
is the patch to make it work for SDL1.3 (I'm hoping
the mailing lists accepts attachments.)
In this patch I have also changed the shell script that
assembles the Template. Since there is now only one lib
target (same name for "device" and "simulator" version)
I copy the simulator library to the destination with
the name libSDLSimulator.a. This is not a satisfactory
solution, because both libraries are included in the project
while only one is needed (depending on the selected
environment). However, I'm not fluent with Xcode to
say what a better solution would be.
Kind regards,
Kees Bakker
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 28 Jan 2011 10:37:36 -0800 |
parents | 2936fc46b015 |
children |
line wrap: on
line source
[patterns] .hgeol = native .hgignore = native BUGS = native CREDITS = native INSTALL = native NOTES = native TODO = native WhatsNew = native **COPYING = native **README = native **doxyfile = native **Doxyfile = native **install-sh = LF **mkinstalldirs = LF **Makefile = LF **Makefile.* = LF test/automated/rwops/read = LF **README.* = native **.S = native **.bmp = BIN **.c = native **.cc = native **.cpp = native **.csh = LF **.dat = BIN **.gdbinit = LF build-scripts/config.guess = LF **.h = native **.htm = native **.html = native **.icns = BIN **.in = LF **.java = native **.m = native **.m4 = native **.mk = LF **.nib = BIN **.pch = BIN **.pdf = BIN **.pl = native **.plist = native **.png = BIN .indent.pro = LF **.rc = native **.rtf = BIN **.sh = LF **.sln = native **.txt = native **.vcp = native **.vcproj = native **.vcw = native **.vcxproj = native **.wav = BIN **.xbm = BIN **.xml = native **.zip = BIN