mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-27 11:50:26 +02:00
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:
parent
6f42ed9547
commit
04ed47cd5d
BIN
ide/lazarus.res
BIN
ide/lazarus.res
Binary file not shown.
12
ide/main.pp
12
ide/main.pp
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user