mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-30 05:49:20 +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');
|
Result:=CreateApplicationBundle(CurTargetFilename, 'Lazarus');
|
||||||
if not (Result in [mrOk,mrIgnore]) then begin
|
if not (Result in [mrOk,mrIgnore]) then begin
|
||||||
debugln(['CreateBuildLazarusOptions CreateApplicationBundle failed']);
|
debugln(['CreateBuildLazarusOptions CreateApplicationBundle failed']);
|
||||||
|
if IDEMessagesWindow<>nil then
|
||||||
IDEMessagesWindow.AddMsg('Error: failed to create application bundle '+BundleDir,NewTargetDirectory,-1);
|
IDEMessagesWindow.AddMsg('Error: failed to create application bundle '+BundleDir,NewTargetDirectory,-1);
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
Result:=CreateAppBundleSymbolicLink(CurTargetFilename);
|
Result:=CreateAppBundleSymbolicLink(CurTargetFilename);
|
||||||
if not (Result in [mrOk,mrIgnore]) then begin
|
if not (Result in [mrOk,mrIgnore]) then begin
|
||||||
debugln(['CreateBuildLazarusOptions CreateAppBundleSymbolicLink failed']);
|
debugln(['CreateBuildLazarusOptions CreateAppBundleSymbolicLink failed']);
|
||||||
|
if IDEMessagesWindow<>nil then
|
||||||
IDEMessagesWindow.AddMsg('Error: failed to create application bundle symlink to '+CurTargetFilename,NewTargetDirectory,-1);
|
IDEMessagesWindow.AddMsg('Error: failed to create application bundle symlink to '+CurTargetFilename,NewTargetDirectory,-1);
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
@ -201,7 +201,7 @@ begin
|
|||||||
TheProcess.CurrentDirectory:=WorkingDir;
|
TheProcess.CurrentDirectory:=WorkingDir;
|
||||||
|
|
||||||
if OutputFilter<>nil then begin
|
if OutputFilter<>nil then begin
|
||||||
if BuildAll then
|
if BuildAll and Assigned(IDEMessagesWindow) then
|
||||||
IDEMessagesWindow.AddMsg(lisOptionsChangedRecompilingCleanWithB,
|
IDEMessagesWindow.AddMsg(lisOptionsChangedRecompilingCleanWithB,
|
||||||
WorkingDir, -1);
|
WorkingDir, -1);
|
||||||
OutputFilter.Options:=[ofoSearchForFPCMessages,ofoExceptionOnError];
|
OutputFilter.Options:=[ofoSearchForFPCMessages,ofoExceptionOnError];
|
||||||
|
Loading…
Reference in New Issue
Block a user