mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 16:31:40 +02:00
added codetools config example
git-svn-id: trunk@8615 -
This commit is contained in:
parent
60b17ba91f
commit
2fd1b15468
@ -22,6 +22,21 @@
|
||||
|
||||
Abstract:
|
||||
This unit helps to setup and configure the codetools.
|
||||
|
||||
Example:
|
||||
Options:=TCodeToolsOptions.Create;
|
||||
Options.LoadFromFile('config.xml');
|
||||
Options.FPCPath:='/usr/bin/ppc386';
|
||||
Options.FPCSrcDir:='/home/mattias/freepascal/fpc';
|
||||
Options.LazarusSrcDir:='/home/mattias/pascal/wichtig/lazarus';
|
||||
Options.ProjectDir:='/home/mattias/pascal/amat/codetools/scanexamples/';
|
||||
Options.TestPascalFile:=Options.ProjectDir+'empty.pas';
|
||||
CodeToolBoss.Init(Options);
|
||||
Options.SaveToFile('config.xml');
|
||||
Options.Free;
|
||||
|
||||
.. use CodeToolBoss ..
|
||||
|
||||
}
|
||||
unit CodeToolsConfig;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user