[Lazarus] Project.pp
Gabriele Cappelletto
cappellettogabriele at yahoo.it
Tue Apr 9 19:39:51 CEST 2024
Done, I'm missing this, I can't find how to do this in the handbook
BMOptions: TBuildMatrixOption;
BMOptions :=
TProject(AProject).BuildModes.SharedMatrixOptions.Add(bmotIDEMacro);
BMOptions.Modes := 'Default';
BMOptions.MacroName := 'LCLWidgetType';
BMOptions.Value := 'nogui';
I think it needs to be transformed into
CompOpts : TLazCompilerOptions;
Does anyone know how to do this or how to use projectintf?
Il 09/04/24 18:48, Martin Frb ha scritto:
> On 03/04/2024 16:41, Gabriele Cappelletto via lazarus wrote:
>> TProject(AProject).UseAppBundle := False;
> Package BuildIntf
> components\buildintf\projectintf.pas => LGPL with linking exception
>
> TLazProject(AProject).UseAppBundle := False;
>
>
>> TProject(AProject).ProjResources.XPManifest.UseManifest := False;
> TLazProject(AProject).UseManifest := False;
>
>> TProject(AProject).ProjResources.ProjectIcon.SetStream(nil);
>
> This may be a problem. At least I haven't found it...
> You can get resources...
> TLazProject(AProject).Resources
> But the class TProjectIcon isn't available.
>
> Maybe someone else knows.
>
>
More information about the lazarus
mailing list