[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Install resources for a tool
From: |
Nicola Pero |
Subject: |
Re: Install resources for a tool |
Date: |
Sat, 15 Aug 2009 23:14:07 +0100 |
Thank you for your excellent answer. But It looks like it isn't
working for
me. My currenr makefile is now:
but when i install it I cannot find the resources anywhere in the
GNUstep
directory. Only the binary in the subdirectory tools.
Thanks Martin.
It works for me. The tool binary is installed into
/usr/GNUstep/Local/Tools
and the tool's resource bundle is installed into
/usr/GNUstep/Local/Library/Tools/Resources/
Try 'make install messages=yes' to see where it is being installed.
Is it being installed at all ?
If it's being installed as in my case, while the location might seem
difficult to find at runtime, it's actually very easy to find - just
call [NSBundle mainBundle] inside your tool.
Another point I'm thinking about is the wrong category I use. A game
isn't a
tool. It's an application. But the application project type links to
the gui
libs. Is there a way to get rid of this dependency? And if not, is
there an
automated way to install a new project type file. for example
sdlgame.make
with the sdl wrapper?
Yes, you could use xxx_NEEDS_GUI = NO. :-)
You could produce an sdlgame.make, but it's probably more work than
it's worth.
Thanks