mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 21:00:23 +02:00
merge r62477 #61ff6d46d1: Fix compilation with FPC trunk
git-svn-id: branches/fixes_2_0@62478 -
This commit is contained in:
parent
b812427da7
commit
08a6145ef0
@ -385,15 +385,15 @@ procedure TCompilerCompilationOptionsFrame.WriteSettings(AOptions: TAbstractIDEO
|
|||||||
|
|
||||||
var
|
var
|
||||||
Options: TBaseCompilerOptions absolute AOptions;
|
Options: TBaseCompilerOptions absolute AOptions;
|
||||||
|
HL: THistoryList;
|
||||||
begin
|
begin
|
||||||
Options.CreateMakefileOnBuild := chkCreateMakefile.Checked;
|
Options.CreateMakefileOnBuild := chkCreateMakefile.Checked;
|
||||||
|
|
||||||
// execute before
|
// execute before
|
||||||
Options.ExecuteBefore.Command := ExecuteBeforeCommandComboBox.Text;
|
Options.ExecuteBefore.Command := ExecuteBeforeCommandComboBox.Text;
|
||||||
with InputHistories.HistoryLists.GetList('BuildExecBefore',true,rltCaseSensitive) do begin
|
HL := InputHistories.HistoryLists.GetList('BuildExecBefore',true,rltCaseSensitive);
|
||||||
Assign(ExecuteBeforeCommandComboBox.Items);
|
HL.Assign(ExecuteBeforeCommandComboBox.Items);
|
||||||
Push(Options.ExecuteBefore.Command);
|
HL.Push(Options.ExecuteBefore.Command);
|
||||||
end;
|
|
||||||
|
|
||||||
WriteSettingsParsers(Options.ExecuteBefore,ExecBeforeParsersCheckListBox);
|
WriteSettingsParsers(Options.ExecuteBefore,ExecBeforeParsersCheckListBox);
|
||||||
|
|
||||||
@ -416,10 +416,9 @@ begin
|
|||||||
|
|
||||||
// execute after
|
// execute after
|
||||||
Options.ExecuteAfter.Command := ExecuteAfterCommandComboBox.Text;
|
Options.ExecuteAfter.Command := ExecuteAfterCommandComboBox.Text;
|
||||||
with InputHistories.HistoryLists.GetList('BuildExecAfter',true,rltCaseSensitive) do begin
|
HL := InputHistories.HistoryLists.GetList('BuildExecAfter',true,rltCaseSensitive);
|
||||||
Assign(ExecuteAfterCommandComboBox.Items);
|
HL.Assign(ExecuteAfterCommandComboBox.Items);
|
||||||
Push(Options.ExecuteAfter.Command);
|
HL.Push(Options.ExecuteAfter.Command);
|
||||||
end;
|
|
||||||
WriteSettingsParsers(Options.ExecuteAfter,ExecAfterParsersCheckListBox);
|
WriteSettingsParsers(Options.ExecuteAfter,ExecAfterParsersCheckListBox);
|
||||||
if Options.ExecuteAfter is TProjectCompilationToolOptions then
|
if Options.ExecuteAfter is TProjectCompilationToolOptions then
|
||||||
Options.ExecuteAfter.CompileReasons :=
|
Options.ExecuteAfter.CompileReasons :=
|
||||||
|
Loading…
Reference in New Issue
Block a user