mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 01:28:19 +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;
|
||||
|
||||
// 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
|
||||
@ -6886,6 +6883,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
|
||||
|
Loading…
Reference in New Issue
Block a user