[Lazarus] Issue #0020655: Ability to set environment variable at IDE launch

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Mar 15 22:36:59 CET 2012


On Thu, 15 Mar 2012 22:26:00 +0200
patspiper <patspiper at gmail.com> wrote:

>[...]
> >  The compiler path of the IDE has already a history drop down list.
> >
> I'll stick for the time being to the script as it eliminates the need to 
> set anything in the IDE options.

A script requires a restart of the IDE.


> > > - Allow the export of environment variables such as the PATH in the
> >
> > > IDE's options.
> >
> > Yes, it's a todo to implement run parameters for the compiler (and the 
> > other external tools).
> >
> Great! Once implemented, the script would be reduced to:
> export LIBOVERLAY_SCROLLBAR=0

This needs fixing.

>[...]
> > > This will not solve downside #3, as a script is still needed for the
> > > --pcp option and the overlay scrollbars issue, but it will make
> > > switching FPC versions a breeze.
> >
> > When you use macros, you only need one pcp and then you can use the 
> > default.
> >
> I already use one config file (which is the pcp). What default are you 
> referring to?

The default pcp is ~/.lazarus
If you only need one pcp, why not use the default location?

 
> You are a treasure trove of info!

I have my hours.

Mattias




More information about the Lazarus mailing list