The Build options allow you to control some aspects of how the workbench behaves when you run tools, compile programs, execute
object files, or build/rebuild the workspace.
Use the following procedures to set Build options:
- Select the Build category of the Environment options.
- When running tools option: Enable Always save all documents to automatically save all open documents before performing such actions as reparsing,
generating code, or compiling, among others.
- For the three options under When compiling programs that include generated source code:
- Enable Always generate code if program structure file is modified to generate code before compiling any time that the program structure file has been modified since the last generate action.
- Enable Prompt before generating source code to direct the workbench to always display a confirmation dialog before starting code generation.
- Enable Jump to Event Editor when browsing to direct AcuBench to open the Event Editor when you click a compilation error message caused by code in the
program’s .evt COPY file.
- For the two options under When executing source (.cbl) or object files:
- Enable Always re-compile if the original source file is modified to direct the workbench to recompile a modified source file before executing the associated program.
- Enable Prompt before re-compiling source file if you want the workbench to display a prompt that asks if you want to recompile a modified source file.
- For the two options under When building or reparsing the workspace:
- Enable Always generate modified program (.psf) files to direct AcuBench to first generate code for all programs (.psf files) in the workspace that have been modified since the last build/rebuild or reparse, before starting the new build/rebuild
or reparse.
- Enable Always generate modified FD/SL (.dlt) file to direct the workbench to generate new FD and SL files and update any user-modified file-handling code for all data layout
files (.dlt) that have been modified since the last build/rebuild or reparse, before starting the new build/rebuild or reparse.