mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-25 19:49:14 +02:00
lazbuild: fixed checking IDEMessagesWindow - needed when comiled with extra checks, bug #19198
git-svn-id: trunk@30395 -
This commit is contained in:
parent
9a6711d087
commit
2fa4f0aa04
@ -566,12 +566,14 @@ begin
|
||||
Result:=CreateApplicationBundle(CurTargetFilename, 'Lazarus');
|
||||
if not (Result in [mrOk,mrIgnore]) then begin
|
||||
debugln(['CreateBuildLazarusOptions CreateApplicationBundle failed']);
|
||||
if IDEMessagesWindow<>nil then
|
||||
IDEMessagesWindow.AddMsg('Error: failed to create application bundle '+BundleDir,NewTargetDirectory,-1);
|
||||
exit;
|
||||
end;
|
||||
Result:=CreateAppBundleSymbolicLink(CurTargetFilename);
|
||||
if not (Result in [mrOk,mrIgnore]) then begin
|
||||
debugln(['CreateBuildLazarusOptions CreateAppBundleSymbolicLink failed']);
|
||||
if IDEMessagesWindow<>nil then
|
||||
IDEMessagesWindow.AddMsg('Error: failed to create application bundle symlink to '+CurTargetFilename,NewTargetDirectory,-1);
|
||||
exit;
|
||||
end;
|
||||
|
@ -201,7 +201,7 @@ begin
|
||||
TheProcess.CurrentDirectory:=WorkingDir;
|
||||
|
||||
if OutputFilter<>nil then begin
|
||||
if BuildAll then
|
||||
if BuildAll and Assigned(IDEMessagesWindow) then
|
||||
IDEMessagesWindow.AddMsg(lisOptionsChangedRecompilingCleanWithB,
|
||||
WorkingDir, -1);
|
||||
OutputFilter.Options:=[ofoSearchForFPCMessages,ofoExceptionOnError];
|
||||
|
Loading…
Reference in New Issue
Block a user