Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: LETARTARE on February 13, 2013, 03:21:02 pm

Title: configurations in 'default.conf'
Post by: LETARTARE on February 13, 2013, 03:21:02 pm
hello,
can I clean the file 'default.conf' old unused configurations ?
cordially
Title: Re: configurations in 'default.conf'
Post by: oBFusCATed on February 13, 2013, 03:39:34 pm
What configurations?
Title: Re: configurations in 'default.conf'
Post by: LETARTARE on February 13, 2013, 03:49:16 pm
examples with a script wizard :

Code
PathConfig <- _T("/avr_lib_target_wizard/")
AvrBoards <- ConfigManager.Read(PathConfig + _T("boards"), _T(""))
AvrLibs <- ConfigManager.Read(PathConfig + _T("libs"), _T(""))
and
Code
ConfigManager.Write(PathConfig + _T("boards"), AvrBoards);
ConfigManager.Write(PathConfig  + _T("libs"), AvrLibs)