mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 18:19:34 +02:00
ide: creating app bundle as a part of a build process for Cocoa WS. Issue #36780
git-svn-id: branches/fixes_2_0@62936 -
This commit is contained in:
parent
52abee6390
commit
07af721275
12
ide/main.pp
12
ide/main.pp
@ -6866,13 +6866,10 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// leave if no further action is needed
|
|
||||||
if NoBuildNeeded then
|
|
||||||
exit;
|
|
||||||
|
|
||||||
// create application bundle
|
// create application bundle
|
||||||
if Project1.UseAppBundle and (Project1.MainUnitID>=0)
|
if Project1.UseAppBundle and (Project1.MainUnitID>=0)
|
||||||
and (MainBuildBoss.GetLCLWidgetType=LCLPlatformDirNames[lpCarbon])
|
and ((MainBuildBoss.GetLCLWidgetType=LCLPlatformDirNames[lpCarbon])
|
||||||
|
or (MainBuildBoss.GetLCLWidgetType=LCLPlatformDirNames[lpCocoa]))
|
||||||
then begin
|
then begin
|
||||||
Result:=CreateApplicationBundle(TargetExeName, Project1.GetTitleOrName);
|
Result:=CreateApplicationBundle(TargetExeName, Project1.GetTitleOrName);
|
||||||
if not (Result in [mrOk,mrIgnore]) then begin
|
if not (Result in [mrOk,mrIgnore]) then begin
|
||||||
@ -6886,6 +6883,11 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
// leave if no further action is needed
|
||||||
|
if NoBuildNeeded then
|
||||||
|
exit;
|
||||||
|
|
||||||
if (AReason in Project1.CompilerOptions.CompileReasons)
|
if (AReason in Project1.CompilerOptions.CompileReasons)
|
||||||
and (not (pbfDoNotCompileProject in Flags)) then begin
|
and (not (pbfDoNotCompileProject in Flags)) then begin
|
||||||
// compile
|
// compile
|
||||||
|
Loading…
Reference in New Issue
Block a user