Symbian3/SDK/Source/GUID-B68FF699-923B-530E-A877-86507B1D42F1.dita
changeset 13 48780e181b38
parent 12 80ef3a206772
child 14 578be2adaf3e
equal deleted inserted replaced
12:80ef3a206772 13:48780e181b38
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE concept
       
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
       
    12 <concept xml:lang="en" id="GUID-B68FF699-923B-530E-A877-86507B1D42F1"><title>mmp file syntax overview</title><prolog><metadata><keywords/></metadata></prolog><conbody><p>A <filepath>.mmp</filepath> project definition file specifies the properties of a project in a platform and compiler independent way. The <filepath>makmake</filepath> tool converts project definition files into makefiles for particular platforms. The <filepath>abld</filepath> tool wraps calls to <filepath>makmake</filepath>, and can be more convenient to use than <filepath>makmake</filepath> directly. </p> <p>A project definition file has extension <filepath>.mmp</filepath>. </p> <p>Note that: </p> <ul><li id="GUID-5796376B-2834-5C3D-BF27-B987C87B6222"><p>Each statement occupies a single line. </p> </li> <li id="GUID-310510D2-B28C-5069-A98F-A19A6E7A86F3"><p>Use the C++ style comment syntax for comments. </p> </li> <li id="GUID-9AF3002F-9175-5F7E-B6A2-8443994954F1"><p>A trailing backslash is used to indicate a line continuation. Therefore, specify directories without their trailing backslash, for example: Do <codeph>SYSTEMINCLUDE \epoc32\include</codeph>, rather than <codeph>SYSTEMINCLUDE
       
    13              \epoc32\include\</codeph>  </p> </li> </ul> <section><title>Example:</title> <p>An example of an <filepath>.mmp</filepath> file called <filepath>hello.mmp</filepath>: </p> <codeblock id="GUID-26AF80DF-870D-5638-8875-F9085C525EA0" xml:space="preserve">TARGET        HelloWorld.exe
       
    14 TARGETTYPE    exe
       
    15 UID           0x100039CE 0x10004299
       
    16 TARGETPATH                \sys\bin
       
    17 VENDORID               0x70000001
       
    18 SOURCEPATH    .
       
    19 SOURCE        HelloWorld_Main.cpp
       
    20 SOURCE        HelloWorld_Application.cpp
       
    21 SOURCE        HelloWorld_Document.cpp
       
    22 SOURCE        HelloWorld_AppUi.cpp
       
    23 SOURCE        HelloWorld_AppView.cpp
       
    24 USERINCLUDE   .
       
    25 SYSTEMINCLUDE \epoc32\include
       
    26 
       
    27 START RESOURCE    HelloWorld.rss
       
    28 HEADER
       
    29 TARGETPATH        \resource\apps
       
    30 end
       
    31 
       
    32 START RESOURCE    HelloWorld_reg.rss
       
    33 TARGETPATH        \private\10003a3f\apps
       
    34 END
       
    35 
       
    36 LIBRARY       euser.lib apparc.lib cone.lib eikcore.lib
       
    37 </codeblock> </section> <section><title>See also</title> <p> <xref href="GUID-8DB5E558-9774-5CC3-AF8C-6C50D9FE0496.dita">Using makmake</xref>  </p> </section> </conbody></concept>