Re: specifying include directories

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

Jason Gade wrote:
> 
> > $ exu -I /opt/eu40/include -D debug -D shareware hello.e John Doe
> > {
> >   "/opt/euphoria-4.0/source/exu",
> >   "/home/jeremy/hello.e",
> >   "John",
> >   "Doe"
> > }
> > 
> > --
> > Jeremy Cowgar
> > <a href="http://jeremy.cowgar.com">http://jeremy.cowgar.com</a>
> 
> That's the behavior that I would expect.
> 
> Maybe euinc.conf and command-line switches should set EUINC and EUDIR during
> the duration of the program (which the program can then read) and then set it
> back when finished?
> 
> That seems like the simplest solution.
> 

Or maybe easier a function called include_paths() or something. that returns a
sequence that EU is looking in:

include_paths() -- {"c:\\euphoria\\include", "c:\\eulibs"}


--
Jeremy Cowgar
http://jeremy.cowgar.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu