IDE: compiler options: load,save build modes

git-svn-id: trunk@18276 -
This commit is contained in:
mattias 2009-01-13 16:38:53 +00:00
parent 7f7c0b3387
commit 843133346d
2 changed files with 15 additions and 2 deletions

View File

@ -1126,7 +1126,9 @@ begin
{ Conditionals }
TCompOptConditionals(FConditionals).LoadFromXMLConfig(XMLConfigFile,
Path+'Conditionals/',PathDelimChange);
Path+'Conditionals/',PathDelimChange);
TIDEBuildModes(fBuildModes).LoadFromXMLConfig(XMLConfigFile,
Path+'BuildModes/',PathDelimChange);
// ToDo: replace this with conditional compiler options
LCLWidgetType := XMLConfigFile.GetValue(p+'LCLWidgetType/Value', '');
@ -1313,7 +1315,9 @@ begin
{ Conditionals }
TCompOptConditionals(FConditionals).SaveToXMLConfig(XMLConfigFile,
Path+'Conditionals/',UsePathDelim);
Path+'Conditionals/',UsePathDelim);
TIDEBuildModes(fBuildModes).SaveToXMLConfig(XMLConfigFile,
Path+'BuildModes/',UsePathDelim);
// ToDo: remove
XMLConfigFile.SetDeleteValue(p+'LCLWidgetType/Value', LCLWidgetType,'');

View File

@ -504,6 +504,15 @@
<OtherUnitFiles Value="frames/;../debugger/;../debugger/frames/"/>
<UnitOutputDirectory Value="$(LazarusDir)/units/$(TargetCPU)-$(TargetOS)"/>
</SearchPaths>
<BuildModes>
<Count Value="2"/>
<Item1 DefaultValueNodeType="AddValue">
<Identifier Value="Mode1"/>
</Item1>
<Item2 DefaultValueNodeType="AddValue">
<Identifier Value="Mode2"/>
</Item2>
</BuildModes>
<Parsing>
<SyntaxOptions>
<CStyleOperator Value="False"/>