Member attributes: OutputFileNameExtension

This attribute determines the file extension for the generated C source files.




The attribute OutputFileNameExtension specifies the extension for all resulting C source files when generating code for the particular profile member. Per default C source files are generated with .c file extension. With this attribute you can specify another extension as expected by your C compiler. For example, the value cpp will cause C source files to be generated with .cpp extension so you can compile the files with a C++ compiler.

Modify the attribute

To inspect or modify the value of an OutputFileNameExtension attribute, select first the affected profile member. Thereupon, the attribute is listed in the middle area of Inspector:

Please note, the attribute can be hidden if the Platform Package selected in the particular profile member is not intended to generate C code (e.g. JavaScript code in the WebGL Platform Package).