[Lazarus] RE : RE : Package depencies and order of compiling when building lazarus
Ludo Brands
ludo.brands at free.fr
Sun Jan 8 10:09:56 CET 2012
> > 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_pa
ckage_file_.28lpk.29
I think there is a typo in the example:
var
p: TIDEPackage;
...
Pkg:=PackageEditingInterface.FindPackageWithName(ExtractFilenameOnly(LPKFile
name));
P != Pkg.
It's probably also worth mentioning that PackageIntf is in the package
IDEIntf.
> >
> > > 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.
Thanks, Ludo
More information about the Lazarus
mailing list