Difference between revisions of "IDE Window: Compiler Options"

From Lazarus wiki
Jump to navigationJump to search
 
Line 1: Line 1:
 
== Paths ==
 
== Paths ==
 +
 +
=== Other Unit Files ===
 +
 +
Set here the search path for the pascal units (.ppu, .pp, .pas, .p). Relative paths are expanded with the project or package directory (where .lpi/.lpk file is).
 +
This path is given to the FreePascal Compiler, so it uses all these files for building.
 +
 +
BEWARE: if a package uses a separate output directory for its .ppu files, do not add the source directories to this path. Otherwise FPC will rebuild the .ppu of the package and put them into your project directory. You will end up with multiple .ppu versions and you will get strange 'Can not find unit' errors.
 +
For example: Do not add any FPC or Lazarus source (.pas or .pp) directory to this search path.
 +
 +
 +
=== Include Files ===
  
 
== Parsing ==
 
== Parsing ==

Revision as of 17:14, 30 April 2006

Paths

Other Unit Files

Set here the search path for the pascal units (.ppu, .pp, .pas, .p). Relative paths are expanded with the project or package directory (where .lpi/.lpk file is). This path is given to the FreePascal Compiler, so it uses all these files for building.

BEWARE: if a package uses a separate output directory for its .ppu files, do not add the source directories to this path. Otherwise FPC will rebuild the .ppu of the package and put them into your project directory. You will end up with multiple .ppu versions and you will get strange 'Can not find unit' errors. For example: Do not add any FPC or Lazarus source (.pas or .pp) directory to this search path.


Include Files

Parsing

Code

Linking

Messages

Other

Inherited