Hi,

Like most others (I guess), I have some units that I use frequently
(like about.pp etc.).
These units reside in a specific folder.
Now I've added this folder, and the incude subdirectories to fpc.cfg,
be4cause I got tired of adding this in Project->Compiler Options for
every projec.

In this case:
-FuF:\LazarusProjecten\MijnLib

and
-FiF:\LazarusProjecten\MijnLib\include
-FiF:\LazarusProjecten\MijnLib\include\win

This seems to work fine, at least my project will compile.
However, if I try to Ctrl-Click to the unit or includefile (or the
compiler finds an error in it), the IDE says it cannot find it.
So it seems my assumption thatthe IDE searchpath is determined by
fpc.cfg is not correct.

Is there any way to tell the IDE that it must extend its searchpath to
my units/includes, without having to specify it for each project (the
latter also is not very convenient if I copy the project to my linux,
becaus then the paths must be reset)?

Bart
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to