[Lazarus] RE : Package depencies and order of compiling when building lazarus
Mattias Gaertner
nc-gaertnma at netcologne.de
Sat Jan 7 21:03:09 CET 2012
On Sat, 7 Jan 2012 19:37:28 +0100
"Ludo Brands" <ludo.brands at free.fr> wrote:
> >
> > No. It needs unit PackageIntf from package IDEIntf.
> > PackageEditingInterface.DoOpenPackageFile
>
> OK, that works.
> I didn't find any doc on this and the lazarus source uses PkgBoss to open a
> package. PackageIntf was already in use for the TPkgOpenFlag enum.
I added an example:
http://wiki.lazarus.freepascal.org/Extending_the_IDE#Open_a_package_file_.28lpk.29
> >
> > > So I have added IDE as
> > > dependency to my package.
> >
> > I knew that this package would cause trouble.
> > This package is only for testing IDE features - for the IDE
> > developers. Nothing in the ide package is supported and can
> > change at any time. I will add a check, so that no package
> > can be installed that uses the ide.lpk.
The IDE now forbids to install it.
Mattias
More information about the Lazarus
mailing list