Set Compile options preferences
- Last Updated: February 11, 2026
- 2 minute read
- OpenEdge
- Version 13.0
- Documentation
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 .
- 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.
- Enter a key for encrypted source files in the XCODE key field. Leave this field blank if you do not use encrypted source code.
- Specify the procedure that runs prior to compilation in the Pre-compile callback routine field.
- 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.
- Specify the path of the folder where cross references are saved in the XREF XML destination field..
- In the Strict options
section, select a severity level for the following options:
- Require full names—Specifies that all table and field names must be their full unabbreviated names as they appear in the schema.
- Require field qualifiers—Specifies that all buffer references (database tables, temp-tables, and buffers) must be fully qualified.
- Require full keywords—Specifies that all keywords must be their full unabbreviated names as they appear in the schema.
- Require return values—Specifies that all user-defined functions, non-VOID methods, and property getters have RETURN value statements for all logical code paths.
To enable the project level properties, select the Enable project-specific settings check box and select the required strict compile options.
The severity levels are explained below:
- Ignore—Ignores the Compile option. This is the default setting for all the strict compile options.
- Warning—The compiler generates a warning message for each failure of the strict compile options. If the failures encountered during a compilation are from those options, r-code is generated.
- Error—The compiler generates an error message for each failure of the strict compile options. If any failures are encountered during compilation, no r-code is generated.
- 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.