mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 18:49:19 +02:00
IDE/lazbuild: append global options to building IDE
git-svn-id: trunk@48445 -
This commit is contained in:
parent
2dc3f24423
commit
4a4bc73855
@ -58,7 +58,7 @@ uses
|
||||
// IDE
|
||||
LazarusIDEStrConsts, TransferMacros, LazConf, IDEProcs, DialogProcs,
|
||||
MainBar, ExtToolEditDlg, EnvironmentOpts,
|
||||
ApplicationBundle, CompilerOptions, BuildProfileManager,
|
||||
ApplicationBundle, ModeMatrixOpts, CompilerOptions, BuildProfileManager,
|
||||
GenericListEditor, GenericCheckList, IDECmdLine, PackageSystem, PackageDefs;
|
||||
|
||||
type
|
||||
@ -418,7 +418,6 @@ begin
|
||||
Result:=mrCancel;
|
||||
fProfile:=Profile;
|
||||
if CalcTargets(Flags)<>mrOk then exit;
|
||||
debugln(['TLazarusBuilder.MakeLazarus AAA1 ',fExtraOptions]);
|
||||
|
||||
if LazarusIDE<>nil then
|
||||
LazarusIDE.MainBarSubTitle:=Profile.Name;
|
||||
@ -593,6 +592,9 @@ begin
|
||||
{$ENDIF}
|
||||
|
||||
AppendExtraOption(fProfile.ExtraOptions,false);
|
||||
|
||||
if OnAppendCustomOption<>nil then
|
||||
OnAppendCustomOption(Self,fExtraOptions,[bmgtEnvironment]);
|
||||
end;
|
||||
|
||||
// set target filename and target directory:
|
||||
|
@ -2561,7 +2561,8 @@ begin
|
||||
Result:=BuildMatrixProjectName;
|
||||
end else if Sender is TLazPackage then begin
|
||||
Result:=TLazPackage(Sender).Name;
|
||||
end;
|
||||
end else
|
||||
Result:='#';
|
||||
//debugln(['TBuildManager.GetModeMatrixTarget ',DbgSName(Sender),' Target="',Result,'"']);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user