Member attributes: OutputIncDirectory

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

Syntax

directory‑name

Discussion

The attribute OutputIncDirectory specifies the destination directory where generated C header files (files with extension *.h or *.hpp) should be stored in when generating code for the particular profile member. Please note, this attribute has no effect on Platform Packages not generating C code, e.g. the WebGL Platform Package.

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 include files within the directory resulting from the attribute OutputDirectory. Thus the attribute OutputIncDirectory permits you to override the value specified in the attribute OutputDirectory and store the generated include 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%\inc will cause the generated include files to be stored in the directory inc just below the directory where Windows manages your temporary files.

Modify the attribute

To inspect or modify the value of an OutputIncDirectory 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 include files. In such case use the attribute OutputDirectory to specify a common directory valid for all generated files. See also the associated attributes OutputSrcDirectory and OutputResDirectory.