[Lazarus] CodeTools doesn't look in the project's search path

Tobias Giesen tobias_subscriber at tgtools.com
Wed May 28 11:36:31 CEST 2008


> It's not good practice to indirectly use units (not part of you
> project). Otherwise, how would the compiler know if that unit had
> changed since the previous compile.

That's actually not true. The FPC checks and finds all units and 
compares their checksums and determines if a recompile is needed.
There is absolutely no need to add them to the project.

> As Mattias said, you can also add unit paths in your project's
> compiler options dialog (Project | Compiler options | Paths tab).

Yes, I have done that, and the project compiles fine. But 
CodeTools ignores that setting, so it does not find some of my files.

Kind Regards,
Tobias Giesen

Super Flexible Software Ltd. & Co. KG
Lessingstr. 42
48485 Neuenkirchen, Germany
www.superflexible.com
www.tgtools.com

-----------------------------------------------------------
Registered at register court Steinfurt as HRA 5061
Liability / general partner: TGTools Ltd.
Company No. 05513299
Registered in England and Wales
Directors: Tobias Giesen and Claudia Hübl





More information about the Lazarus mailing list