[Lazarus] Environment variables in IDE's search path

dmitry boyarintsev skalogryz.lists at gmail.com
Sat May 16 11:05:55 CEST 2009

> If you have many test applications with many dependencies, why
> don't you use 'save project as'?
some times i do use it, to save all the project's settings.
but, it's something of psychology, i'm pressing 'New Project' and go
to compiler options setting up searching paths.

It's a matter of habit, nothing else. New project starts with 'New
project' menu item, not "Save as...". Though "Save as..." would
definitely save a lot of time.

> These files are separate from the main "project" file which is .lpr (lazarus) or .dpr (delphi).
Actually, we share .dpr files. It's easy for us, since we don't use VCL or LCL.

> So I would say Lazarus and Delphi can work together on the same source code
God bless FPC and Lazarus teams! for {$mode delphi} and Code Tools.

> So no, I do not consider it hard. Hey we are programmers after all -
> nothing is to hard. ;-)  But honestly, it is not difficult to create
> project add-on or even simpler, using the new "project templates"
> feature.
It not hard for you or me. After all, i'm the only one in the team
who's actually using Lazarus...
But then the time comes (and it WILL come), it would be easier to keep
each .lpi search path properly set:
Rather than explain to the rest of the team how to use project
templates, or that they don't have package installed.


P.S. $Env(var_name) is good, but imho $(var_name), is better.

More information about the Lazarus mailing list