[Lazarus] Adding units to a project

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Mar 12 10:57:09 CET 2009


On Thu, Mar 12, 2009 at 11:14 AM, Vincent Snijders
<vsnijders at vodafonevast.nl> wrote:
>
> The package with the BOM (Business object model?) should have a
> requirement to the tiOPF package too, not just the main program.

Ah yes, I forgot about that. :-(

Correct me if I am wrong, but doesn't that also mean that if the BOM
is inside a package and has a requirement to tiOPF package, then your
main program should only need to include the BOM package. The tiOPF
package doesn't need to be added explicitly to the main program.
Projects inherit dependencies from packages.

eg:
  You only need to add the LCL dependency to a project and not LCL +
FPC, because LCL package already includes the FCL package as a
requirement.


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the Lazarus mailing list