Member attributes: OutputDirectory

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

Syntax

directory‑name

Discussion

The attribute OutputDirectory specifies the default destination directory where the generated files should be stored in when generating code for the particular profile member. 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 files within a sub directory named after the profile used for the code generation and located directly within the project directory.

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%\code will cause the generated files to be stored in the directory code just below the directory where Windows manages your temporary files.

Depending on the used Platform Package, the path resulting from the attribute OutputDirectory may be overridden by the attributes OutputIncDirectory, OutputSrcDirectory and OutputResDirectory permitting you to specify individual directories for the different kinds of files (include, source and resource files).

Modify the attribute

To inspect or modify the value of an OutputDirectory 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: