Commit c7f970e3 authored by Sam Lantinga's avatar Sam Lantinga

Added MacOS X Project Builder projects

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4054
parent 7efd8f72
...@@ -40,6 +40,17 @@ Using the Simple DirectMedia Layer with Project Builder ...@@ -40,6 +40,17 @@ Using the Simple DirectMedia Layer with Project Builder
These instructions are for using Apple's Project Builder IDE to build SDL applications. These instructions are for using Apple's Project Builder IDE to build SDL applications.
- First steps
The first thing to do is to unpack the PBProjects.tar.gz archive in the
top level SDL directory (where the PBProjects.tar.gz archive resides).
Because Stuffit Expander will unpack the archive into a subdirectory,
you should unpack the archive manually from the command line:
cd [path_to_SDL_source]
tar zxf PBProjects.tar.gz
This will create a new folder called PBProjects, which you can browse
normally from the Finder.
- Building the Framework - Building the Framework
The SDL Library is packaged as a framework bundle, an organized The SDL Library is packaged as a framework bundle, an organized
......
This diff is collapsed.
This diff is collapsed.
...@@ -1865,7 +1865,7 @@ case "$target" in ...@@ -1865,7 +1865,7 @@ case "$target" in
fi fi
# The MacOS X platform requires special setup # The MacOS X platform requires special setup
SDL_CFLAGS="$SDL_CFLAGS -F/System/Library/Frameworks/Carbon.framework" SDL_CFLAGS="$SDL_CFLAGS -F/System/Library/Frameworks/Carbon.framework"
SDL_LIBS="$SDL_LIBS -framework Carbon" SDL_LIBS="-lSDLmain $SDL_LIBS -framework Carbon"
;; ;;
*) *)
AC_MSG_ERROR(Unsupported target: Please add to configure.in) AC_MSG_ERROR(Unsupported target: Please add to configure.in)
......
...@@ -16,8 +16,9 @@ be found at the <A HREF="http://www.libsdl.org/"> main SDL page</A>. ...@@ -16,8 +16,9 @@ be found at the <A HREF="http://www.libsdl.org/"> main SDL page</A>.
Major changes since SDL 1.0.0: Major changes since SDL 1.0.0:
</H2> </H2>
<UL> <UL>
<LI> 1.2.1: Disabled /dev/event joystick interface by default <LI> 1.2.1: Added MacOS X Project Builder projects (thanks Darrell!)
<LI> 1.2.1: Added initial support for Quartz video (thanks Darrell!) <LI> 1.2.1: Added initial support for Quartz video (thanks Darrell!)
<LI> 1.2.1: Disabled Linux /dev/event joystick interface by default
<LI> 1.2.1: Added native OpenBSD audio driver (thanks vedge!) <LI> 1.2.1: Added native OpenBSD audio driver (thanks vedge!)
<LI> 1.2.1: Added detection of Open Sound System on Solaris x86 <LI> 1.2.1: Added detection of Open Sound System on Solaris x86
<LI> 1.2.1: Added initial support for Nano-X (thanks Hsieh-Fu!) <LI> 1.2.1: Added initial support for Nano-X (thanks Hsieh-Fu!)
......
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
#undef main #undef main
#endif #endif
extern int SDL_run(int argc, char **argv); extern int SDL_main(int argc, char *argv[]);
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
return(SDL_run(argc, argv)); return(SDL_main(argc, argv));
} }
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment