Re: specifying include directories

new topic     » goto parent     » topic index » view thread      » older message » newer message

Shawn Pringle wrote:
> 
> There is a feature which I wish other versions had that would be invaluable
> for
> testing various versions of large libraries.  A command line switch for
> specifying the include directory to search for.  I will have to port all my
> stuff to 4.0.
> 
> Often one version of Euphoria will not work with some versions of win32lib.ew
> and some versions of win32lib.ew will not work with ide.exw.  There would be
> utility in the ability to have this feature if it would be searched before
> the EUINC variable.  Sometimes software upgrades breaks existing software,
> lets save 4.0+ users from that headache.
> 
> What do you say Jeremy and friends?  Is this something you are willing to put
> into the EUPHORIA programming interpreter?

Yes.  There are two ways to do this.  You can either create a euinc.conf
file with a list of directories, or specify directories right on the
command line with the -i switch before the file:

 $ exu -i ~/foo app.exu

There's additional (possibly somewhat out of date) information about using
euinc.conf files here:

http://rapideuphoria.wiki.sourceforge.net/nix+config

It is the fact that we require 4.0 to do this that has caused some difficulties
with building on a system with only 3.x installed.  I *think* these issues
have been solved.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu