ide: creating app bundle as a part of a build process for Cocoa WS. bug #36780

git-svn-id: trunk@62875 -
This commit is contained in:
dmitry 2020-04-04 05:25:44 +00:00
parent 6f42ed9547
commit 04ed47cd5d
2 changed files with 7 additions and 5 deletions

Binary file not shown.

View File

@ -7031,13 +7031,10 @@ begin
end;
end;
// leave if no further action is needed
if NoBuildNeeded then
exit;
// create application bundle
if Project1.UseAppBundle and (Project1.MainUnitID>=0)
and (MainBuildBoss.GetLCLWidgetType=LCLPlatformDirNames[lpCarbon])
and ((MainBuildBoss.GetLCLWidgetType=LCLPlatformDirNames[lpCarbon])
or (MainBuildBoss.GetLCLWidgetType=LCLPlatformDirNames[lpCocoa]))
then begin
Result:=CreateApplicationBundle(TargetExeName, Project1.GetTitleOrName);
if not (Result in [mrOk,mrIgnore]) then begin
@ -7051,6 +7048,11 @@ begin
end;
end;
// leave if no further action is needed
if NoBuildNeeded then
exit;
if (AReason in Project1.CompilerOptions.CompileReasons)
and (not (pbfDoNotCompileProject in Flags)) then begin
// compile