mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 10:32:37 +02:00
BuildProfiles: cleanup, order fields consistently.
git-svn-id: trunk@27917 -
This commit is contained in:
parent
5cc7e97fc2
commit
8837d660fa
@ -448,10 +448,10 @@ begin
|
||||
fTargetPlatform :=DirNameToLCLPlatform(LCLPlatformStr);
|
||||
FTargetDirectory:=AppendPathDelim(SetDirSeparators(
|
||||
XMLConfig.GetValue(Path+'TargetDirectory/Value', DefaultTargetDirectory)));
|
||||
FRestartAfterBuild :=XMLConfig.GetValue(Path+'RestartAfterBuild/Value',true);
|
||||
FConfirmBuild :=XMLConfig.GetValue(Path+'ConfirmBuild/Value',true);
|
||||
FWithStaticPackages:=XMLConfig.GetValue(Path+'WithStaticPackages/Value',true);
|
||||
FUpdateRevisionInc :=XMLConfig.GetValue(Path+'UpdateRevisionInc/Value',true);
|
||||
FRestartAfterBuild :=XMLConfig.GetValue(Path+'RestartAfterBuild/Value',true);
|
||||
FConfirmBuild :=XMLConfig.GetValue(Path+'ConfirmBuild/Value',true);
|
||||
end;
|
||||
|
||||
procedure TBuildLazarusProfile.Save(XMLConfig: TXMLConfig; const Path: string);
|
||||
@ -473,10 +473,10 @@ begin
|
||||
''); //LCLPlatformDirNames[GetDefaultLCLWidgetType]
|
||||
XMLConfig.SetDeleteValue(Path+'TargetDirectory/Value',
|
||||
FTargetDirectory,DefaultTargetDirectory);
|
||||
XMLConfig.SetDeleteValue(Path+'RestartAfterBuild/Value',FRestartAfterBuild,true);
|
||||
XMLConfig.SetDeleteValue(Path+'ConfirmBuild/Value',FConfirmBuild,true);
|
||||
XMLConfig.SetDeleteValue(Path+'WithStaticPackages/Value',FWithStaticPackages,true);
|
||||
XMLConfig.SetDeleteValue(Path+'UpdateRevisionInc/Value',FUpdateRevisionInc,true);
|
||||
XMLConfig.SetDeleteValue(Path+'RestartAfterBuild/Value',FRestartAfterBuild,true);
|
||||
XMLConfig.SetDeleteValue(Path+'ConfirmBuild/Value',FConfirmBuild,true);
|
||||
end;
|
||||
|
||||
procedure TBuildLazarusProfile.Assign(Source: TBuildLazarusProfile; ACopyName: Boolean);
|
||||
|
Loading…
Reference in New Issue
Block a user