mmp file syntax overview

A .mmp project definition file specifies the properties of a project in a platform and compiler independent way. The makmake tool converts project definition files into makefiles for particular platforms. The abld tool wraps calls to makmake, and can be more convenient to use than makmake directly.

A project definition file has extension .mmp.

Note that:

  • Each statement occupies a single line.

  • Use the C++ style comment syntax for comments.

  • A trailing backslash is used to indicate a line continuation. Therefore, specify directories without their trailing backslash, for example: Do SYSTEMINCLUDE \epoc32\include, rather than SYSTEMINCLUDE \epoc32\include\

Example:

An example of an .mmp file called hello.mmp:

TARGET        HelloWorld.exe
TARGETTYPE    exe
UID           0x100039CE 0x10004299
TARGETPATH                \sys\bin
VENDORID               0x70000001
SOURCEPATH    .
SOURCE        HelloWorld_Main.cpp
SOURCE        HelloWorld_Application.cpp
SOURCE        HelloWorld_Document.cpp
SOURCE        HelloWorld_AppUi.cpp
SOURCE        HelloWorld_AppView.cpp
USERINCLUDE   .
SYSTEMINCLUDE \epoc32\include

START RESOURCE    HelloWorld.rss
HEADER
TARGETPATH        \resource\apps
end

START RESOURCE    HelloWorld_reg.rss
TARGETPATH        \private\10003a3f\apps
END

LIBRARY       euser.lib apparc.lib cone.lib eikcore.lib

See also

Using makmake