[Lazarus] How to save compiled units for other programs to use?

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Dec 15 22:25:09 CET 2012


"Crone, Thomas J." <crone at cua.edu> hat am 15. Dezember 2012 um 21:03
geschrieben:
> I'm using Lazarus IDE v1.0.2 on Windows 7.
>
> With my old Delphi (v4), I'd compile a unit and copy the .dcu file to
> the Delphi lib folder so other programs with "USES unitname" would find it.
> I guess with Lazarus, I need to put the .ppu file somewhere? where?

Add the unit (.pas) to a package and use the package in any project needing the
unit.
The .ppu files are automatically created/updated by the IDE.

Mattias




More information about the Lazarus mailing list