IDE: Add a "Normal IDE" build profile as default when installing clean.

git-svn-id: trunk@33643 -
This commit is contained in:
juha 2011-11-20 14:46:42 +00:00
parent b3498842f9
commit 205972e34c
2 changed files with 12 additions and 2 deletions

View File

@ -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);

View File

@ -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';