Difference between revisions of "IDE Window: Package Options"

From Free Pascal wiki
Jump to navigationJump to search
Line 3: Line 3:
 
== Add Paths to dependent packages / project ==
 
== Add Paths to dependent packages / project ==
  
All these paths are not used by this package itself, but they are added to the appropriate paths of the packages/projects, that use this package. These are called ''inherited'' paths.  
+
All these paths are not used by this package itself, but they are added to the appropriate paths of the packages/projects, that use this package. These are called ''inherited'' paths. For example: Package A needs Package B needs Package C. All usage options of C are appended to the options of B '''and''' A.
  
 
For example almost all packages inherit their output directory, so that any package, that uses this package, finds the .ppu files.  
 
For example almost all packages inherit their output directory, so that any package, that uses this package, finds the .ppu files.  
Line 9: Line 9:
 
You can see, what paths are inherited from other packages/projects in the compiler options dialog.
 
You can see, what paths are inherited from other packages/projects in the compiler options dialog.
  
== Unit ==
+
=== Unit ===
  
 
These paths are separated by semicolon, can contain macros, and are appended to the ''unit'' paths of all packages/projects, which use/require this package. The ''unit'' path is used by the IDE and the compiler to search for pascal units (.pas, .pp, .ppu).
 
These paths are separated by semicolon, can contain macros, and are appended to the ''unit'' paths of all packages/projects, which use/require this package. The ''unit'' path is used by the IDE and the compiler to search for pascal units (.pas, .pp, .ppu).
  
== Include ==
+
=== Include ===
  
 
Same as the ''unit'' path, but for the ''include'' path - include files.
 
Same as the ''unit'' path, but for the ''include'' path - include files.
  
== Object ==
+
=== Object ===
  
 
Same as the ''unit'' path, but for the ''object'' path (.o files).
 
Same as the ''unit'' path, but for the ''object'' path (.o files).
  
== Library ==
+
=== Library ===
  
 
Same as the ''unit'' path, but for the ''library'' path (linker files).
 
Same as the ''unit'' path, but for the ''library'' path (linker files).
  
 +
== Add options to dependent packages and projects ==
 +
 +
=== Linker ===
 +
 +
These options are separated by space, can contain macros and are appended to the ''linker'' options of all packages/projects, which use/require this package. Line breaks are converted to spaces. Several spaces are treated as one, except if they are enclosed by quotes.
 +
 +
== Custom ==
 +
 +
These options are separated by space, can contain macros and are appended to the ''custom'' options of all packages/projects, which use/require this package. Line breaks are converted to spaces. Several spaces are treated as one, except if they are enclosed by quotes.
  
 
= Description =
 
= Description =
 
  
  
  
 
= IDE Integration =
 
= IDE Integration =

Revision as of 16:04, 13 July 2006

Usage

Add Paths to dependent packages / project

All these paths are not used by this package itself, but they are added to the appropriate paths of the packages/projects, that use this package. These are called inherited paths. For example: Package A needs Package B needs Package C. All usage options of C are appended to the options of B and A.

For example almost all packages inherit their output directory, so that any package, that uses this package, finds the .ppu files.

You can see, what paths are inherited from other packages/projects in the compiler options dialog.

Unit

These paths are separated by semicolon, can contain macros, and are appended to the unit paths of all packages/projects, which use/require this package. The unit path is used by the IDE and the compiler to search for pascal units (.pas, .pp, .ppu).

Include

Same as the unit path, but for the include path - include files.

Object

Same as the unit path, but for the object path (.o files).

Library

Same as the unit path, but for the library path (linker files).

Add options to dependent packages and projects

Linker

These options are separated by space, can contain macros and are appended to the linker options of all packages/projects, which use/require this package. Line breaks are converted to spaces. Several spaces are treated as one, except if they are enclosed by quotes.

Custom

These options are separated by space, can contain macros and are appended to the custom options of all packages/projects, which use/require this package. Line breaks are converted to spaces. Several spaces are treated as one, except if they are enclosed by quotes.

Description

IDE Integration