mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 06:39:12 +02:00
IDE: readded event calls
git-svn-id: trunk@50047 -
This commit is contained in:
parent
c6148fafed
commit
e6714b1468
@ -6548,6 +6548,7 @@ begin
|
|||||||
pbfSkipAssembler in Flags,aCompileHint);
|
pbfSkipAssembler in Flags,aCompileHint);
|
||||||
if ConsoleVerbosity>=0 then
|
if ConsoleVerbosity>=0 then
|
||||||
debugln(['TMainIDE.DoBuildProject compiler time in s: ',(Now-StartTime)*86400]);
|
debugln(['TMainIDE.DoBuildProject compiler time in s: ',(Now-StartTime)*86400]);
|
||||||
|
DoCallBuildingFinishedHandler(lihtProjectBuildingFinished, Self, Result=mrOk);
|
||||||
if Result<>mrOk then begin
|
if Result<>mrOk then begin
|
||||||
// save state, so that next time the project is not compiled clean
|
// save state, so that next time the project is not compiled clean
|
||||||
Project1.LastCompilerFilename:=CompilerFilename;
|
Project1.LastCompilerFilename:=CompilerFilename;
|
||||||
@ -6996,6 +6997,12 @@ begin
|
|||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Result:=DoCallModalFunctionHandler(lihtLazarusBuilding);
|
||||||
|
if Result<>mrOk then begin
|
||||||
|
debugln(['TMainIDE.DoBuildLazarusSub handler lihtLazarusBuilding negative']);
|
||||||
|
exit;
|
||||||
|
end;
|
||||||
|
|
||||||
if fBuilder=Nil then
|
if fBuilder=Nil then
|
||||||
fBuilder:=TLazarusBuilder.Create;
|
fBuilder:=TLazarusBuilder.Create;
|
||||||
if ExternalTools.RunningCount=0 then
|
if ExternalTools.RunningCount=0 then
|
||||||
@ -7073,6 +7080,7 @@ begin
|
|||||||
SourceEditorManager.ClearErrorLines;
|
SourceEditorManager.ClearErrorLines;
|
||||||
IDEBuildFlags:=IDEBuildFlags+[blfUseMakeIDECfg,blfDontClean];
|
IDEBuildFlags:=IDEBuildFlags+[blfUseMakeIDECfg,blfDontClean];
|
||||||
Result:=fBuilder.MakeLazarus(BuildLazProfiles.Current, IDEBuildFlags);
|
Result:=fBuilder.MakeLazarus(BuildLazProfiles.Current, IDEBuildFlags);
|
||||||
|
DoCallBuildingFinishedHandler(lihtLazarusBuildingFinished, Self, Result=mrOk);
|
||||||
if Result<>mrOk then exit;
|
if Result<>mrOk then exit;
|
||||||
|
|
||||||
if fBuilder.ProfileChanged then begin
|
if fBuilder.ProfileChanged then begin
|
||||||
|
Loading…
Reference in New Issue
Block a user