[ODE] configure improvements
Rodrigo Hernandez
kwizatz at aeongames.com
Sat Nov 19 10:07:41 MST 2005
I was thinking about using program arguments as well, if no path is
given use the default, this would probably be the most simple solution,
though it would require the user to do something like
$ text_boxstack path/to/textures
IF the dual compilation option is used.
I really want to avoid resource files (as in any extra external
configuration mechanism such as XML), in case anyone is thinking about
something like that, I think we want to keep it as simple as posible on
a programmer perspective, and avoid as many external libraries as we
could as well.
Just my opinion though.
Jon Watte (ODE) wrote:
>
> Or we could make the drawstuff code use an environment variable to
> find its textures, and default to ../../drawstuff/textures if it can't
> find it.
>
> Or add one or two more levels of ".." to make it more likely that a
> build directory that's the peer of the source director would work.
>
> Or use a symlink in the build directory.
>
> Btw: On Windows, the best thing to do when looking for resources is to
> get the directory of the executable image, and start from there.
> Sadly, the UNIX file system won't allow you to do that (because of
> hard linking, there may be more than one "directory of the executable
> image").
>
> Cheers,
>
> / h+
More information about the ODE
mailing list