[SDL] Scrap for OSX (copy and paste)
René Dudfield
renesd at gmail.com
Fri Dec 7 16:13:40 PST 2007
hi,
pygame has taken the scrap code and improved it greatly. Windows and
X11 code in particular.
However currently the macosx code is broken, but it worked in the past.
Also qnx support was dropped.
Have a look in pygame subversion ( http://pygame.org/wiki/cvs )
It would be great if we(pygame) could use your osx code, or put our
code back into SDL_scrap.
On Dec 7, 2007 12:47 AM, Gabriele Greco <gabriele.greco at darts.it> wrote:
> Josiah wrote:
> >
> > Do you know if there is anyway to tell XCode this from inside main.c? If it was
> > a .c file I would just have a #include inside a #ifdef OSX but including the .m
> > file gives a whole bunch of errors.
> >
> That's not a nice idea, objectiveC and C use different compilers, simply
> add scrap_OSX.m to the sources file in the xcode project, the project is
> not crossplatform anyway. Otherwise, if you use a crossplatform makefile
> you can do something like this inside your makefile:
>
> OBJS = main.c
> OSNAME = $(shell uname)
>
> ifeq ("$(OSNAME)", "Darwin")
> OBJS += scrap_OSX.m
> endif
>
> --
> Bye,
> Gabry
>
>
>
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
More information about the SDL
mailing list