RAD Studio (Common)
ContentsIndex
PreviousUpNext
Delphi Compiler Paths and Defines

ProjectOptionsDelphi CompilerPaths and Defines 

Use this dialog box to set CodeGear Pascal Compiler Path and Define options.

Build Configuration option 
Description 
Build Configuration 
Displays the active build configuration. Use the drop-down menu to select another build configuration.  
Save As... 
Displays the Save As dialog box to save the current configuration's options to a file that can be loaded as a named option set.  
Load... 
Displays the Apply Option Set dialog box to apply the options in a named option set to the current configuration.  

 

Paths and Defines options 
Description 
Include path: (-I) 
Includes the specified search paths.
Click [...] to display the Include path dialog to manage a list of defines. Check the Merge box to act as if the immediate ancestor's paths are merged into this list, though this list is not actually changed.  
Defines: (-D) 
Defines a conditional symbol. The directive -Dsymbol defines symbol. The defined symbol can be used by the {$IFDEF symbol} or {$IFNDEF symbol} directives or DEFINED symbol in the conditional expression part of a {$IFC cond-expr} directive.
You can also define a symbol by using the {$DEFINE symbol} directive in the source file.
Include multiple defines after a single -D option by separating each define with a semicolon (;). For example: DCC32.EXE -Dxxx;yyy;zzz MYFILE.PAS
You can also include multiple -D options, separating each with a space. For example: DCC32.EXE -Dxxx -Dyyy -Dzzz MYFILE.PAS
Click [...] to display a Defines symbol dialog to manage a list of defines. Check the Merge box to act as if the immediate ancestor's defines are merged into this list, though this list is not actually changed.  
.obj output directory (-NO) 
Sets the .obj output directory to the specified directory. Click [...] to display a directory selection dialog.  

 

General option 
Description 
Default 
Saves the current settings as the default for each new project.  
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!