mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 04:16:06 +02:00
IDE: compiler options: load,save build modes
git-svn-id: trunk@18276 -
This commit is contained in:
parent
7f7c0b3387
commit
843133346d
@ -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,'');
|
||||
|
||||
|
@ -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"/>
|
||||
|
Loading…
Reference in New Issue
Block a user