Re: SDL2 template for Xcode 3.2

Kai Sterker <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <CACtHX9yur5sAqE9pd-syMsfk_Dx7OCYJpOYsR9tfBWSpSCF_aA@mail.gmail.com>
Not sure if you solved your problem yet, but just in case:

For my own project, I have a little script that wraps the usual
configure/make/make install steps to populate a proper application bundle.
There are some caveats, of course: it requires that all 3rd party libs
reside in /usr/local (so no using of SDL in Framework form) and when using
the dynamic loading feature of, say SDL_mixer, a wrapper script is required
to properly set the DYLD_LIBRARY_PATH before running the actual executable.
Also, no codesigning, at present.

Here's the script (GPL v2, so feel free to modify to your needs):

http://cvs.savannah.gnu.org/viewvc/adonthell-0.3/make_bundle.sh?root=adonthell&view=markup

And here's the resulting bundle:

http://download.savannah.gnu.org/releases/adonthell/adonthell-0.3.6-osx-beta1.dmg

(Actually, there is a second part to creating the bundle, as the required
data files are separate. So there is a second script the adds the remaining
stuff. But for a normal application, where everything is in one build tree,
the first script should suffice). Second part here:

http://cvs.savannah.gnu.org/viewvc/wastesedge/make_bundle.sh?root=adonthell&view=markup

There's also a brief documentation for the process:

http://cvs.savannah.gnu.org/viewvc/adonthell-0.3/README.MacOSX?root=adonthell&view=markup

Hope that helps,

Kai

On Sat, Jul 2, 2016 at 2:00 PM, rtrussell <[email protected]> wrote:

> I'm trying to build an SDL2 project on OS-X 10.6 (Snow Leopard) - I know
> it's ancient but it's all I've got at the moment - and although I can
> successfully build a 'command line' project I haven't managed to create any
> sort of distributable app. Does anybody have an Xcode 3.2 template for SDL2
> that might help me?
>
> Richard.
>
> _______________________________________________
> SDL mailing list
> [email protected]
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.