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