mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 14:00:18 +02:00
IDE: Add a "Normal IDE" build profile as default when installing clean.
git-svn-id: trunk@33643 -
This commit is contained in:
parent
b3498842f9
commit
205972e34c
@ -354,6 +354,16 @@ var
|
|||||||
begin
|
begin
|
||||||
Platfrm:=GetDefaultLCLWidgetType;
|
Platfrm:=GetDefaultLCLWidgetType;
|
||||||
|
|
||||||
|
// Build Normal IDE
|
||||||
|
Profile:=TBuildLazarusProfile.Create(Self, lisLazBuildNormalIDE);
|
||||||
|
with Profile, fOwnerCnt do begin
|
||||||
|
fTargetPlatform:=Platfrm;
|
||||||
|
fIdeBuildMode:=bmBuild;
|
||||||
|
fUpdateRevisionInc:=True;
|
||||||
|
end;
|
||||||
|
// Return this one as default. Needed when building packages without saved profiles.
|
||||||
|
Result:=Add(Profile);
|
||||||
|
|
||||||
// Build Debug IDE
|
// Build Debug IDE
|
||||||
Profile:=TBuildLazarusProfile.Create(Self, lisLazBuildDebugIDE);
|
Profile:=TBuildLazarusProfile.Create(Self, lisLazBuildDebugIDE);
|
||||||
with Profile, fOwnerCnt do begin
|
with Profile, fOwnerCnt do begin
|
||||||
@ -367,8 +377,7 @@ begin
|
|||||||
fOptions.Add('-gw -gl -godwarfsets -gh -gt -Co -Cr -Ci -Sa');
|
fOptions.Add('-gw -gl -godwarfsets -gh -gt -Co -Cr -Ci -Sa');
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
end;
|
end;
|
||||||
// Return this one as default. Needed when building packages without saved profiles.
|
Add(Profile);
|
||||||
Result:=Add(Profile);
|
|
||||||
|
|
||||||
// Build Optimised IDE
|
// Build Optimised IDE
|
||||||
Profile:=TBuildLazarusProfile.Create(Self, lisLazBuildOptimizedIDE);
|
Profile:=TBuildLazarusProfile.Create(Self, lisLazBuildOptimizedIDE);
|
||||||
|
@ -2874,6 +2874,7 @@ resourcestring
|
|||||||
lisLazBuildErrorWritingFile = 'Error writing file';
|
lisLazBuildErrorWritingFile = 'Error writing file';
|
||||||
lisLazBuildUnableToWriteFile = 'Unable to write file "%s":%s';
|
lisLazBuildUnableToWriteFile = 'Unable to write file "%s":%s';
|
||||||
lisLazBuildIDEwithoutPackages = 'IDE without Packages';
|
lisLazBuildIDEwithoutPackages = 'IDE without Packages';
|
||||||
|
lisLazBuildNormalIDE = 'Normal IDE';
|
||||||
lisLazBuildDebugIDE = 'Debug IDE';
|
lisLazBuildDebugIDE = 'Debug IDE';
|
||||||
lisLazBuildOptimizedIDE = 'Optimized IDE';
|
lisLazBuildOptimizedIDE = 'Optimized IDE';
|
||||||
lisLazCleanUpBuildAll = 'Clean Up + Build all';
|
lisLazCleanUpBuildAll = 'Clean Up + Build all';
|
||||||
|
Loading…
Reference in New Issue
Block a user