Admin Production ni-theme
Current Publication

Compiler Setup Dialog Box

LabWindows/CVI

Compiler Setup Dialog Box

Use the Compiler Setup dialog box to specify which flags to pass to the external compiler. How you access the Compiler Setup dialog box depends on whether you are specifying settings for an environment-wide or per-project compiler configuration:

  • Environment-wide compiler configuration—Click Edit or double-click a configuration name in the Available Configurations list in the Compiler for Release Configuration dialog box.
  • Per-project compiler configuration—Click the button next to the Use Custom Settings option in the Release Configuration dialog box.

The Compiler Setup dialog box provides the following options:

  • Disk File (.ecc)—Indicates the .ecc file that stores the compiler settings for the specified configuration. The value is not editable. For environment-wide configurations, it is determined by the configuration you selected in the New Configuration dialog box. For project-specific configurations, this value is always [stored in project file].
  • Configuration Name—Specifies the name of the configuration. For environment-wide configurations, this name appears in the Build Options dialog box Available Configurations option.
  • Optimization Level—Specifies the optimizations the external compiler uses when it compiles the code. Each of the entries listed in the Optimization Level option corresponds to a flag or set of flags LabWindows/CVI passes to the external compiler.

    Click the button next to the Optimization Level option to open the Optimization Level Customization dialog box, which you can use to add to or modify the entries listed in this option. Click Add in the Optimization Level Customization dialog box to add a new optimization level to the list. You can double-click an entry in the optimizations list to edit the setting name. When you select an entry, you can edit the associated flag in the Command Line Argument option at the bottom of the dialog box. The default settings LabWindows/CVI lists for the compiler configuration templates it provides depend on the external compiler. Refer to the documentation for the external compiler for information about specific optimization flags.
  • Warning Level—Specifies how aggressively the external compiler reports warnings. Each of the entries listed in the Warning Level option corresponds to a flag or set of flags LabWindows/CVI passes to the external compiler.

    Click the button next to the Warning Level option to open the Warnings Level Customization dialog box, which you can use to add to or modify the entries listed in this option. Click Add in the Warnings Level Customization dialog box to add a new warning level to the list. You can double-click an entry in the optimizations list to edit the setting name. When you select an entry, you can edit the associated flag in the Command Line Argument option at the bottom of the dialog box. The default settings LabWindows/CVI lists for the compiler configurations it provides depend on the external compiler. Refer to the documentation for the external compiler for information about specific warning level flags.
  • Additional Flags—Specifies additional flags that LabWindows/CVI passes to the external compiler. There are several factors to consider when you add to or edit the flags LabWindows/CVI passes to the external compiler. Refer to the external compiler documentation for information about specific flags.
  • Advanced—Opens the Advanced Compiler Options dialog box.
  • Load—Opens the Release Configuration dialog box, in which you can select a template whose settings you want to use as the initial settings for the new configuration. This option is populated with the templates LabWindows/CVI provides and the available compiler configurations specified in the Active 32-bit compiler and Active 64-bit compiler options in the Build Options dialog box. This button is available only for project-specific configurations.