RAD Studio (Common)
ContentsIndex
PreviousUpNext
Library

ToolsOptionsDelphi OptionsLibrary 

Use this page to specify directories, compiler, and linker options for all packages.

Item 
Description 
Library path  
Specifies search paths where the compiler can find the source files for the package. The compiler can find only those files that exist in the library path. If you try to build your package with a file that is not on the library path, you receive a compiler error.  
Package output directory  
Specifies where the compiler should put compiled packages files.  
DCP/DCPIL output directory  
Specifies a separate directory to contain the .dcp (Win32) files.  
Browsing path  
Specifies the directories where the Code Browsing feature of the Code Editor looks for unit files when it cannot find an identifier on the project search path or source path.
The Code Editor searches for unit files for Code Browsing in the following order:
  1. The project Search path for Delphi ( ProjectOptionsDelphi Compiler) or the Include path for C++ ( ProjectOptionsDirectories and Conditionals).
  2. Global browsing path (this option)
For Win32 Delphi language projects, the directories specified with this option are appended to the debug source path for the project. So the debugger search order for unit files is determined by the following path settings:
  1. The project Search path, for Delphi ( ProjectOptionsDelphi Compiler) and, for C++, the Include path ( ProjectOptionsDirectories/Conditionals).
  2. The Browsing path (this option).
  3. The project Source path (the directory in which the project was saved).
 
Namespace prefixes  
Specifies the prefixes for dotted namespaces, to allow you to create a shorthand version of the namespace in the uses clause in your code. For example, instead of writing CodeGear.Vcl.DB, you could specify CodeGear.Vcl as your namespace prefix. In the uses clause, you could then specify uses DB;.  
Debug DCU/DCUIL path  
To use this option, you must set Use Debug DCU/DCUILs on the ProjectOptionsCompiler page. When that option is set and a path is given, the debugger looks for the .dcu (Win32) files in this path before looking in the unit search path.  

Tip: To list multiple values in an edit box, separate the values with a semicolon. Alternatively, click the ellipsis button next to each edit box to add multiple values through an appropriate dialog box. 

To specify operating system environment variables in an edit box, use the following syntax:  

$(VariableName)

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!