mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 03:59:13 +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
|
// IDE
|
||||||
LazarusIDEStrConsts, TransferMacros, LazConf, IDEProcs, DialogProcs,
|
LazarusIDEStrConsts, TransferMacros, LazConf, IDEProcs, DialogProcs,
|
||||||
MainBar, ExtToolEditDlg, EnvironmentOpts,
|
MainBar, ExtToolEditDlg, EnvironmentOpts,
|
||||||
ApplicationBundle, CompilerOptions, BuildProfileManager,
|
ApplicationBundle, ModeMatrixOpts, CompilerOptions, BuildProfileManager,
|
||||||
GenericListEditor, GenericCheckList, IDECmdLine, PackageSystem, PackageDefs;
|
GenericListEditor, GenericCheckList, IDECmdLine, PackageSystem, PackageDefs;
|
||||||
|
|
||||||
type
|
type
|
||||||
@ -418,7 +418,6 @@ begin
|
|||||||
Result:=mrCancel;
|
Result:=mrCancel;
|
||||||
fProfile:=Profile;
|
fProfile:=Profile;
|
||||||
if CalcTargets(Flags)<>mrOk then exit;
|
if CalcTargets(Flags)<>mrOk then exit;
|
||||||
debugln(['TLazarusBuilder.MakeLazarus AAA1 ',fExtraOptions]);
|
|
||||||
|
|
||||||
if LazarusIDE<>nil then
|
if LazarusIDE<>nil then
|
||||||
LazarusIDE.MainBarSubTitle:=Profile.Name;
|
LazarusIDE.MainBarSubTitle:=Profile.Name;
|
||||||
@ -593,6 +592,9 @@ begin
|
|||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
|
||||||
AppendExtraOption(fProfile.ExtraOptions,false);
|
AppendExtraOption(fProfile.ExtraOptions,false);
|
||||||
|
|
||||||
|
if OnAppendCustomOption<>nil then
|
||||||
|
OnAppendCustomOption(Self,fExtraOptions,[bmgtEnvironment]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// set target filename and target directory:
|
// set target filename and target directory:
|
||||||
|
@ -2561,7 +2561,8 @@ begin
|
|||||||
Result:=BuildMatrixProjectName;
|
Result:=BuildMatrixProjectName;
|
||||||
end else if Sender is TLazPackage then begin
|
end else if Sender is TLazPackage then begin
|
||||||
Result:=TLazPackage(Sender).Name;
|
Result:=TLazPackage(Sender).Name;
|
||||||
end;
|
end else
|
||||||
|
Result:='#';
|
||||||
//debugln(['TBuildManager.GetModeMatrixTarget ',DbgSName(Sender),' Target="',Result,'"']);
|
//debugln(['TBuildManager.GetModeMatrixTarget ',DbgSName(Sender),' Target="',Result,'"']);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user