Setting Compile options preferences

You can set the preferences for Compile options on the workspace level or the project level. If you want to set the default preferences for all the projects, instead of manually configuring each project, you should set the preferences at the workspace level. However, you can override the workspace preference for a particular project by setting the project properties.

To set the preferences at the workspace level, click Windows > Preferences > Progress OpenEdge > Compile.

To set the project properties, right-click a project and click Properties > Progress OpenEdge > Build > Compile.
Note: If you update any compile options in project properties, the options specified in the workspace are overwritten on the Preference page.
  1. Select the Save r-code (also enables include file tracking) check box to save .r files when you build the code. When this option is enabled, OpenEdge saves compiled .r files in the directory you specify in the Build destination field; or, if that field is blank, in the same directory as the source file.
  2. Enter a key for encrypted source files in the XCODE key field. Leave this field blank if you do not use encrypted source code.
  3. Specify the procedure that runs prior to compilation in the Pre-compile callback routine field.
  4. Select the Create cross-reference files in XML format check box to save cross references in an XML file. This corresponds to the COMPILE option, XREF-XML.
    Note:

    Cross-referenced objects include procedure and include files, user-defined functions, classes, methods, tables, fields, variables, frames, and character strings.

    For more information about XREF-XML and other COMPILE options, see the ABL Language Reference.

  5. Specify the path of the folder where cross references are saved in the XREF XML destination field..
  6. Select the following check boxes as required:
    • Require full names: Specifies that all table and field names must be their full unabbreviated names as they appear in the schema. If you select this check box, it disables the compiler’s ability to resolve abbreviated names in the tables.
    • Require field qualifiers: Specifies that all buffer references (database tables, temp-tables, and buffers) must be fully qualified. If you select this check box, it disables the compiler’s ability to implicitly resolve the buffer to which a field reference refers to.
    • Require full keywords: Specifies that all keywords must be their full unabbreviated names as they appear in the schema. If you select this check box, it disables the compiler’s ability to resolve abbreviated names in the keywords.
    • To enable the project level properties, select the Enable project-specific settings check box and select the required compile options..
  7. When you click Apply after updating the options, the Compiler settings changed dialog box opens. Do one of the following:
    • Click Yes to invoke the full build of all the projects in the workspace.
    • Click No to apply the selected options but the build is not invoked.
    • Click Cancel to cancel the changes and the build is not invoked.