![]() |
||||||||
![]() |
||||||||
Project OptionsThe project options dialog allows you to configure your DelphiXPG project. It is displayed when you create a new project, click the "Project Options" tool button or select Project/Options from the main menu.
The dialog allows you to define the following,
Defining the project or packageClick the browse button by "Project" to display an "Open File" dialog. This should be used to navigate to and select the Delphi project or package. Delphi Version.Select the version of Delphi used for this project. The version used defines the location for VCL source and compiler defined conditionals. See Configuration for more details. Tab size.Defines the number of space for a tab. This is used to convert tabs to spaces when displaying error messages or calculating the column for an XRef item. Deep parse.If this option is set then a deep parse will be performed i.e. units not explicitly referenced in the project will be searched for using the search path (see below). Include VCL source.This only has an effect if the "Deep Parse" flag is set. It indicates that the VCL source area defined for the Delphi Version selected should also be searched when locating units not explicitly referenced from the project. Search path.Defines an override path to a set of directories to search for units not explicitly referenced from the project, it used used when the Browser and Library search paths cannot be found in the registry.
To add a directory either type the location or use the browse button to select a folder. Once defined click the "Add" button. To amend an entry select it from the list, amend it in the edit control or use the browse button, finally click the "Replace" button. To delete an item select it from the list and click the "Delete" button. To change the order of items in the list select an item and use the Up/Down arrows to move it to the desired position. Conditional Defines.This allows you to specify additional conditional defines not present in the project file.
To add a conditional define type it into the edit control and click the "Add" button. To amend an entry select it from the list, amend it in the edit control and click the "Replace" button. To delete an item select it from the list and click the "Delete" button. Insert Include Source.This option allows include file source to be inserted into the main source before it is parsed.
Checking the "Include Main Source Line No" causes a comment to be added to each main source line. This allows you to differentiate between main source code and include file code.
This shows inserted include file source.
This shows appened main source line numbers.
|