Re: specifying include directories
- Posted by Jeremy Cowgar <jeremy at cow?ar.com> May 19, 2008
- 626 views
Matt Lewis wrote: > > ChrisBurch2 wrote: > > > > Hi > > > > Does this mean that the include location information will be available to > > your program? Much like getenv, perhaps a getconf function, without actually > > having to use the search list to hunt for the conf file? > > That's not currently in there, but I suppose it could be. You can get the > information in the option switches that were passed on the command line. > > Matt I do not think that's entirely true. The parameters that are used by the interpreter are consumed by it, from what I can tell in code and example. For instance: myprog.ex ---------
include misc.e pretty_print(1, command_line(), {2})
$ 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 http://jeremy.cowgar.com