mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 00:11:51 +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
|
||||
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
|
||||
Profile:=TBuildLazarusProfile.Create(Self, lisLazBuildDebugIDE);
|
||||
with Profile, fOwnerCnt do begin
|
||||
@ -367,8 +377,7 @@ begin
|
||||
fOptions.Add('-gw -gl -godwarfsets -gh -gt -Co -Cr -Ci -Sa');
|
||||
{$ENDIF}
|
||||
end;
|
||||
// Return this one as default. Needed when building packages without saved profiles.
|
||||
Result:=Add(Profile);
|
||||
Add(Profile);
|
||||
|
||||
// Build Optimised IDE
|
||||
Profile:=TBuildLazarusProfile.Create(Self, lisLazBuildOptimizedIDE);
|
||||
|
@ -2874,6 +2874,7 @@ resourcestring
|
||||
lisLazBuildErrorWritingFile = 'Error writing file';
|
||||
lisLazBuildUnableToWriteFile = 'Unable to write file "%s":%s';
|
||||
lisLazBuildIDEwithoutPackages = 'IDE without Packages';
|
||||
lisLazBuildNormalIDE = 'Normal IDE';
|
||||
lisLazBuildDebugIDE = 'Debug IDE';
|
||||
lisLazBuildOptimizedIDE = 'Optimized IDE';
|
||||
lisLazCleanUpBuildAll = 'Clean Up + Build all';
|
||||
|
Loading…
Reference in New Issue
Block a user