Compiler Options tab
Use this tab to manage the compiler options for the build configuration as well as the associated project and module defaults.
See the descriptions of the compiler options in Flex documentation:
|Option|| The option name or the name of a group of options. The groups of options are shown as nodes which you can expand or collapse. |
Also note that you can quickly find an option of interest among the options that are currently shown. Click somewhere within the area where the compiler options and their values are shown and start typing the text which, as you expect, is present within the option name. The Search for box appears which contains the text that you are typing. As soon as it's possible to identify an option basing on the text that you have typed, this option is highlighted in the table.
|Value|| The option value. In most of the cases, to start editing a value, you should click the corresponding table cell. |
Generally, the way to edit a value depends on which value the corresponding option may have:
|Legend|| The options whose values are inherited from the default sets of different levels (the IDE, project, or module) and the ones having specific values (that is, whose values are redefined at the level of the build configuration) are shown differently. |
The legend shows how to distinguish between these four categories of options.
|Copy resource files to output folder|| For Applications: select this check box if you want resource files to be copied to the output folder. Specify which files within the module source roots should be treated as the resource files: |
Files and folders excluded from compilation won't be copied to the output folder. See Excludes.
|Files to include in output *.swc||For Libraries: if necessary, specify additional files and folders that should be included in the resulting |
Please note the following:
|Additional compiler configuration file|| You have an option of specifying a compiler configuration file, an XML file that contains the compiler settings that are used in addition to those specified in the table. |
The additional compiler configuration file, usually, is a file that you compose yourself. Alternatively, this may be a file generated by means of the Maven plugin, or the like.
You can find examples of the configuration files in the directory
Note that in the case of contradictions, the settings in the configuration file take precedence over the ones specified in the table.
To specify the configuration file, click (Shift+Enter) and select the necessary file in the dialog that opens.
|Inherited options||In this field, the compiler options inherited from upper levels (module and project) are shown (readonly).|
|Additional compiler options||If necessary, specify the compiler options to be used in addition to those in the table and in the additional compiler configuration file. |
When specifying the options, you can use path variables. These include the predefined variables
To separate individual options, use spaces.
|Project Defaults||Click this button to edit the project defaults in the Default Compiler Options For Project dialog.|
|Module Defaults||Click this button to edit the module defaults in the Default Compiler Options For Module dialog.|