Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
lazarus / usr / share / lazarus / 1.6 / components / codetools / examples
  ..
  scanexamples
  addwith.lpr
  unitdicttest.lpi
  setincludepath.lpi
  testunitdirectives.lpr
  getcontext.lpi
  findunusedunits.lpr
  autoindent.pas
  addfpprofcalls.lpi
  fixfilenames.lpi
  addclass.lpi
  addmethodassign.lpr
  identifiercompletion.lpr
  parsefpcmsg.lpi
  runcfgscript.lpr
  reduceifdefs.lpr
  ppudependencies.lpi
  scanfpcerrormsgfiles.lpi
  addeventmethod.lpr
  fixh2pasdirectives.lpi
  README.txt
  usedbyunits.lpr
  testfpcsrcunitrules.lpi
  testexpreval.pas
  setincludepath.pas
  getexpandedoperand.pas
  finddeclaration.lpr
  sourcecloser.lpi
  fixdefinitionorder.lpi
  initvariable.lpr
  retypepublishedvars.lpi
  getexpandedoperand.lpi
  convert_glib3.sh
  retypepublishedvars.lpr
  fixdefinitionorder.lpr
  completeabstractmethods.lpr
  codecompletion.lpr
  testexpreval.lpi
  ppudependencies.lpr
  getcontext.lpr
  runcfgscript.lpi
  removeemptymethods.lpr
  parsefpcmsg.pas
  methodjumping.pas
  changeparamlist.lpi
  findunusedunits.lpi
  completeabstractmethods.lpi
  testfpcsrcunitrules.lpr
  autoindent.lpi
  replaceresourcedirectives.lpr
  proctomethod.lpr
  addmethodassign.lpi
  scanfpcerrormsgfiles.lpr
  codecompletion.lpi
  completeblock.lpi
  findusedunitreferences.lpi
  replaceresourcedirectives.lpi
  proctomethod.lpi
  h2pastest.lpi
  removeemptymethods.lpi
  findusedunitreferences.lpr
  finddeclaration.lpi
  addeventmethod.lpi
  h2pastest.lpr
  removewith.lpi
  TestNewXMLCfg.lpi
  fixfilenames.pas
  addclass.lpr
  addwith.lpi
  testunitdirectives.lpi
  TestNewXMLCfg.lpr
  addmethod.lpi
  listinterfaceclasses.pas
  usedbyunits.lpi
  methodjumping.lpi
  fixh2pasdirectives.lpr
  unitdicttest.lpr
  addmethod.lpr
  removewith.lpr
  sourcecloser.lpr
  changeparamlist.lpr
  completeblock.pas
  addfpprofcalls.lpr
  listinterfaceclasses.lpi
  identifiercompletion.lpi
  reduceifdefs.lpi
Size: Mime:
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