[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Application without GUI lib dependence?
From: |
Matthew Jimenez |
Subject: |
RE: Application without GUI lib dependence? |
Date: |
Thu, 6 Aug 2009 12:53:44 -0500 |
Good point. If it's important that you have an app bundle and use openapp, then
it would be easier to define it as an app.
Is it important to not actually link the GUI framework (like not having it
installed at all)?
You may have luck redefining GUI_LIBS in your makefile.
-Matthew
> -----Original Message-----
> From: discuss-gnustep-bounces+mjimenez=hksys.com@gnu.org [mailto:discuss-
> gnustep-bounces+mjimenez=hksys.com@gnu.org] On Behalf Of Martin Kalbfuß
> Sent: Thursday, August 06, 2009 12:19 PM
> To: Discuss-gnustep@gnu.org
> Subject: RE: Application without GUI lib dependence?
>
>
> But then I can't use openapp? Or can I? I also had some problems setting up
> the data bundle for the tool. Maybe you can find a mistake.
>
> My makefile was:
>
> nclude $(GNUSTEP_MAKEFILES)/common.make
>
> CC = c99
> VERSION = 0.1
> PACKAGE_NAME = raubvogel
> TOOL_NAME = raubvogel
>
> raubvogel_OBJC_FILES = \
> test.m \
> game.m \
> farstar.m \
> nearstar.m \
> spaceobj.m \
> ship.m
>
> raubvogel_INCLUDE_DIRS += \
> -I../sdlwrap
>
> raubvogel_LIBRARY_DIRS += \
> -L../sdlwrap/obj
>
> raubvogel_TOOL_LIBS += \
> -lSDL \
> -lSDL_image \
> -lsdlwrap
>
> raubvogel_HAS_RESOURCE_BUNDLE = yes
>
> raubvogel_RESOURCE_FILES = \
> resources/sprites.png
>
> #include $(GNUSTEP_MAKEFILES)/aggregate.make
> include $(GNUSTEP_MAKEFILES)/tool.make
>
>
>
> Matthew Jimenez wrote:
> >
> >> -----Original Message-----
> >> From: discuss-gnustep-bounces+mjimenez=hksys.com@gnu.org
> [mailto:discuss-
> >> gnustep-bounces+mjimenez=hksys.com@gnu.org] On Behalf Of Martin Kalbfuß
> >> Sent: Thursday, August 06, 2009 11:39 AM
> >> To: Discuss-gnustep@gnu.org
> >> Subject: Application without GUI lib dependence?
> >>
> >>
> >> How can I tell the application project type in the makefile to ignore
> the
> >> gui
> >> libs? I want to create my game as application type, not as tool, because
> >> it
> >> isn't a tool.
> >
> > You should probably still define it as a tool and control the runloop
> > yourself, assuming that you want to use the runloop
> > -Matthew Jimenez
> >
> >
> > This communication, along with any attachments, is covered by federal and
> > state law governing electronic communications and may contain
> confidential
> > and legally privileged information. If you are not the intended
> recipient,
> > you are hereby notified that any disclosure, copying, distribution, or
> > action taken in reliance on the contents of these documents is strictly
> > prohibited. If you have received this information in error, please notify
> > the sender immediately and arrange for the return or destruction of these
> > documents. You may notify the sender via email (mailman@hksys.com) or via
> > phone (402.398.2200).
> >
> >
> > _______________________________________________
> > Discuss-gnustep mailing list
> > Discuss-gnustep@gnu.org
> > http://lists.gnu.org/mailman/listinfo/discuss-gnustep
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Application-without-
> GUI-lib-dependence--tp24850115p24850857.html
> Sent from the GNUstep - General mailing list archive at Nabble.com.
>
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnustep
This communication, along with any attachments, is covered by federal and state
law governing electronic communications and may contain confidential and
legally privileged information. If you are not the intended recipient, you are
hereby notified that any disclosure, copying, distribution, or action taken in
reliance on the contents of these documents is strictly prohibited. If you have
received this information in error, please notify the sender immediately and
arrange for the return or destruction of these documents. You may notify the
sender via email (mailman@hksys.com) or via phone (402.398.2200).