mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-28 09:03:50 +02:00
|
||
---|---|---|
.. | ||
scanexamples | ||
addclass.lpi | ||
addclass.lpr | ||
addeventmethod.lpi | ||
addeventmethod.lpr | ||
addfpprofcalls.lpi | ||
addfpprofcalls.lpr | ||
addmethod.lpi | ||
addmethod.lpr | ||
addmethodassign.lpi | ||
addmethodassign.lpr | ||
addwith.lpi | ||
addwith.lpr | ||
autoindent.lpi | ||
autoindent.pas | ||
changeparamlist.lpi | ||
changeparamlist.lpr | ||
codecompletion.lpi | ||
codecompletion.lpr | ||
completeabstractmethods.lpi | ||
completeabstractmethods.lpr | ||
completeblock.lpi | ||
completeblock.pas | ||
convert_glib3.sh | ||
finddeclaration.lpi | ||
finddeclaration.lpr | ||
findunusedunits.lpi | ||
findunusedunits.lpr | ||
findusedunitreferences.lpi | ||
findusedunitreferences.lpr | ||
fixdefinitionorder.lpi | ||
fixdefinitionorder.lpr | ||
fixfilenames.lpi | ||
fixfilenames.pas | ||
fixh2pasdirectives.lpi | ||
fixh2pasdirectives.lpr | ||
getcontext.lpi | ||
getcontext.lpr | ||
getexpandedoperand.lpi | ||
getexpandedoperand.pas | ||
h2pastest.lpi | ||
h2pastest.lpr | ||
identifiercompletion.lpi | ||
identifiercompletion.lpr | ||
listinterfaceclasses.lpi | ||
listinterfaceclasses.pas | ||
methodjumping.lpi | ||
methodjumping.pas | ||
parsefpcmsg.lpi | ||
parsefpcmsg.pas | ||
ppudependencies.lpi | ||
ppudependencies.lpr | ||
proctomethod.lpi | ||
proctomethod.lpr | ||
README.txt | ||
reduceifdefs.lpi | ||
reduceifdefs.lpr | ||
removeemptymethods.lpi | ||
removeemptymethods.lpr | ||
removewith.lpi | ||
removewith.lpr | ||
replaceresourcedirectives.lpi | ||
replaceresourcedirectives.lpr | ||
retypepublishedvars.lpi | ||
retypepublishedvars.lpr | ||
runcfgscript.lpi | ||
runcfgscript.lpr | ||
setincludepath.lpi | ||
setincludepath.pas | ||
sourcecloser.lpi | ||
sourcecloser.lpr | ||
testexpreval.lpi | ||
testexpreval.pas | ||
testfpcsrcunitrules.lpi | ||
testfpcsrcunitrules.lpr | ||
TestNewXMLCfg.lpi | ||
TestNewXMLCfg.lpr | ||
testunitdirectives.lpi | ||
testunitdirectives.lpr | ||
unitdicttest.lpi | ||
unitdicttest.lpr | ||
usedbyunits.lpi | ||
usedbyunits.lpr |
Examples for the CodeTools Some basic examples run out of the box. Some examples require the path of the FPC sources, which can be given via the environment variable FPCDIR. If you see an error message like this: Scanning FPC sources may take a while ... TDefinePool.CreateFPCSrcTemplate FPCSrcDir does not exist: ... Then you must set the FPCDIR variable and start the example again. For example: Under linux: export FPCDIR=/home/username/freepascal/fpc For instance the FPC 2.4.2 source directory contains the following files: compiler ide installer Makefile Makefile.fpc packages rtl tests utils See here for more information: http://wiki.lazarus.freepascal.org/Installing_Lazarus#FPC_Sources The examples will scan the directories and store the result in a file named 'codetools.config'. So the next time you start any of the examples it does not need to scan. List of environment variables: FPCDIR = path to FPC source directory PP = path of the Free Pascal compiler. For example /usr/bin/ppc386. LAZARUSDIR = path of the lazarus sources FPCTARGET = FPC target OS like linux, win32, darwin FPCTARGETCPU = FPC target cpu like i386, x86_64, arm