Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]


Meta files

A meta file is a simple text file associated with each template extension makefile, it contains additional information about the extension such as makefile type, platform and so on.

Following is the syntax for meta file:

makefile gnumake | nmake

[platform value]

[option option-name_1 option-value_1]

...

[option option-name_n option-value_n]

The makefile gnumake | nmake is compulsory for all the meta files. It specifies whether the makefile is of type gnumake or nmake.

The optional platform value specifies the platforms for which the associated template extension makefile can be applied. If not specified, the makefile is invoked for all the platforms. For example, the platform could be winscw and/or ARMv5.

The optional option option-name option-value sets a default value for an option, which can be changed within START EXTENSION...END block in the bld.inf file. For more information, refer to prj_extensions.

Example

This example will set values to platform and makefile variables.

#copy_default.meta
#

makefile   gnumake
platform    win32

See also

How to write a meta file