Re: include paths

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

George Walters writes:
> the problem I'm trying to solve is that of having a development lib and a
> production lib. I don't want to mix and dork up production programs with new
> development programs. as well as keep my stuff separate from EU stuff w/o
> having to change hardcoded paths.

In Euphoria 2.3, you can define a new environment variable,
called EUINC. You can set EUINC to a list of directories
that Euphoria will search for included files. e.g.

SET EUINC=C:\MYDEVELOPMENTLIB;C:\EUSTUFF\WIN32LIB

Euphoria will search first in the same directory as
the main .exw or .ex file, then it will search the directories
listed in EUINC (left to right), 
then it will search your euphoria\include directory.

I have a separate directory in EUINC for Win32lib.ew and friends 
for example. That way I don't have to mix them in with euphoria\include.
If I want to try a new release of Win32Lib, I can change my EUINC
to list the new release first. Later I can rename that new directory, 
or remove it from EUINC, and go back to using the original Win32Lib.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu