[ODE] configure improvements
Jon Watte (ODE)
hplus-ode at mindcontrol.org
Sat Nov 19 10:01:57 MST 2005
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+
Rodrigo Hernandez wrote:
> Using the config script would require ODE to be already installed, so we
> get a catch 22 situation.
> Instead we could define the string on config.h and leave
> "../../drawstuff/textures" as default when no config.h is provided.
>
> Bram Stolk wrote:
>
>
>>To really clean up the autoconf/automake interface, we could
>>opt for the approach used in the plib project:
>>seperate configure.in files for the lib, and the examples.
>>
>>If we went this route, we could do it properly, using sutff
>>like:
>>
>>CXXFLAGS = `ode-config --cflags`
>>
>>'make install' creates a file $prefix/bin/ode-config which
>>should be used by applications using ode. It's much like
>>fltk-config mechanism.
>>Currently, this mechanism is unused in ode.
>>We should consider using it.
>>
>>
>>
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>
>
More information about the ODE
mailing list