Member attributes: OutputResDirectory

This attribute determines the destination directory for the generated resource files.

Syntax

directory‑name

Discussion

The attribute OutputResDirectory specifies the destination directory where generated resource files (files with extension *.png, *.ttf, etc.) should be stored in when generating code for the particular profile member. Please note, this attribute has no effect on Platform Packages not generating separate resource files.

If the attribute doesn't specify an absolute path, the path is considered as being relative to the directory of the project itself. If no value is specified for this attribute, Embedded Wizard stores the generated resource files within the directory resulting from the attribute OutputDirectory. Thus the attribute OutputResDirectory permits you to override the value specified in the attribute OutputDirectory and store the generated resource files separately.

The value for this attribute can involve Windows environment variables. For this purpose enclose the environment variable between a pair of % (percent) signs. For example, initializing the attribute with the value %TEMP%\res will cause the generated resource files to be stored in the directory res just below the directory where Windows manages your temporary files.

Modify the attribute

To inspect or modify the value of an OutputResDirectory attribute, select first the affected profile member. Thereupon, the attribute is listed in the middle area of Inspector. Please note the available directory selection assistant you can activate by clicking on the button right to the attribute:

Please note, the attribute can be hidden if the Platform Package selected in the particular profile member doesn't support separate directories for resource files. In such case use the attribute OutputDirectory to specify a common directory valid for all generated files. See also the associated attributes OutputIncDirectory and OutputSrcDirectory.