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:
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.
Note that each option has an associated Restore Default Value context menu command. Use this command to restore the module default for an option.
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.
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:
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 checkbox 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 .swc file.
Click (Shift+Enter). In the Files And Folders To Include In *.swc dialog that opens:
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 <Flex_SDK_directory>\frameworks.
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.
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.
If you need more room to type, click (Shift+Enter) to open the Additional Compiler Options dialog where the text entry area is larger.
Click this button to edit the project defaults in the Default Compiler Options For Project dialog.
Click this button to edit the module defaults in the Default Compiler Options For Module dialog.