[Lazarus] Environment variables in IDE's search path

Mattias Gaertner nc-gaertnma at netcologne.de
Sat May 16 10:31:23 CEST 2009

On Sat, 16 May 2009 11:30:25 +0400
dmitry boyarintsev <skalogryz.lists at gmail.com> wrote:

> Lazarus packages are usefull, but i don't want to use them for some
> projects.
> > Now each developer simply needs to open and compile the
> > package (so Lazarus knows where to find it).
> this is the step, i'd like to avoid.
> all i want, is to specify paths and compile (whole project at once),
> rather than splitting into steps: package1, package2 ... packageN and
> then project itself.

The IDE automatically compiles required packages if needed, just like
the compiler does for units.

> I know, this needs to be done only once, because if package's
> sources're changed, IDE will detect it and recompile the changed
> package. And other project using package1, 2 .. N will not require to
> compile them again.
> But still, it can be very annoying. For example, with the project
> itself, there might be a lot of small test applications based on the
> same libraries used, for each of them i'll have to specify packages
> dependency (again and again for each test). IMHO, it's easier just to
> copy-paste search paths.

If you have many test applications with many dependencies, why
don't you use 'save project as'?

> My point view: the less IDE buttons need to be pushed - the better :)


More information about the Lazarus mailing list