A meta file is an additional information file associated with each template extension makefile. It is used to set values to attributes to specify the build platform, makefile type and default option values for the extension. The meta file name is same as that of the associated template extension makefile, except the .mk suffix is replaced with .meta.
The following provides a step-by-step explanation to write a meta file:
Specify whether the makefile is of type gnumake (GCC make format) or nmake (Microsoft make format) using the keyword makefile. It is recommended to use gnumake, as most of the templates are based on GNU make format. The value nmake is not recommended as use of nmake is deprecated.
Specify the platform using the keyword platform which is optional. it is useful to specify the platform, if you want to build for a specific platform such as WINSCW, ARMV5 and so on.
Specify the default values for options specific to the extension, using the keyword option which is optional. These default values can be changed in the bld.inf file within the START EXTENSION ... END block. For more information on START EXTENSION, refer to prj_extensions.
For more information on meta file syntax, refer to Meta Files.