From 843133346d1e65a13214193b15d4ff0f383d0718 Mon Sep 17 00:00:00 2001 From: mattias Date: Tue, 13 Jan 2009 16:38:53 +0000 Subject: [PATCH] IDE: compiler options: load,save build modes git-svn-id: trunk@18276 - --- ide/compileroptions.pp | 8 ++++++-- ide/lazarus.lpi | 9 +++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/ide/compileroptions.pp b/ide/compileroptions.pp index e696a3dc86..0e19ab9e23 100644 --- a/ide/compileroptions.pp +++ b/ide/compileroptions.pp @@ -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,''); diff --git a/ide/lazarus.lpi b/ide/lazarus.lpi index 6405a7c72e..446364165e 100644 --- a/ide/lazarus.lpi +++ b/ide/lazarus.lpi @@ -504,6 +504,15 @@ + + + + + + + + +