core/com.nokia.carbide.cpp.doc.user/html/reference/MMP_Editor.html
author fturovic <frank.turovich@nokia.com>
Mon, 10 Aug 2009 15:21:12 -0500
changeset 400 9b005a8e6778
parent 0 fb279309251b
child 1225 a546534a48de
permissions -rw-r--r--
removed duplicate pages, unused images, and fixed links to same

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head>
<title>MMP Editor</title>
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
</head>
   <body>
   <h2>MMP Editor</h2>
   
   <p>
   The MMP Editor allows you to view and modify your project definitions.  Changes made in the MMP editor are automatically written to the project's .MMP file. You can view the .mmp file by selecting the <em>project_name</em>.mmp tab located along the bottom of the MMP editor.</p>
   <p>
	  The MMP Editor is shown when an MMP  file is
   opened from the Project Explorer, C/C++ Projects, or Symbian Project Navigator views. The MMP Editor is shown in Figure 1. MMP editor fields are validated for existing or correct entries. For example, if the UID 2 field is blank the label is highlighted in red. If an error exists in the mmp file, the line where the error occurs is marked and also displayed in the Problems view.</p>
   <p align="center"><img src="images/mmp_editor.png" width="656" height="428" /></p>
   <p align="left" class="figure">Figure 1 - MMP Editor</p>
   <table cellpadding="2" cellspacing="0"
border="0">
	 <tr valign="top"><th width="173" class="Cell">Name</th><th width="516" class="Cell">Function</th></tr><tr valign="top"><td class="Cell">
		    <p>
			   <b>Target name</b></p></td><td class="Cell">
			 <p>
				Enter the name of the target file. 
			 </p></td></tr><tr valign="top"><td class="Cell">
			 <p>
				<b>Target type</b> 
			 </p></td><td class="Cell">
			 <p>
				Select the type of target file from the dropdown list.</p></td></tr><tr valign="top"><td class="Cell">
			 <p>
				<b>Target path</b> 
			 </p></td><td class="Cell">
			 <p>
				Enter the path to the target file. 
			 </p></td></tr><tr valign="top"><td class="Cell">
			 <p>
				<b>UID 2</b> 
			 </p></td><td class="Cell">
			 <p>UID 2 is a unique identifier number that identifies the type of interface that the project implements. The values are defined by Symbian:</p>
			 <ul>
			   <li>For GUI applications, it is always 0x100039CE</li>
			   <li>For static interface DLLs, the UID 2 is always 0x1000008d</li>
			   <li>For polymorphic DLLs, the UID2 is defined by the framework which is being implemented</li>
			 </ul>
			 </td></tr><tr valign="top"><td class="Cell">
			 <p>
				<b>UID 3</b> 
			 </p></td><td class="Cell">
			 <p>
				Application UID (or UID3) is used to uniquely identify the binary (EXE or DLL) within the system. The purpose of UID 3 is to prevent one executable from interfering the operation of another executable.</p></td></tr><tr valign="top"><td class="Cell">
			 <p>
				<b>Project definition</b> 
			 </p></td><td class="Cell">
			 <p>
				The Project definition group provides links to the Sources, Libraries, and Options windows. You can also select the Sources, Libraries, and Options tabs to open the related window. </p></td></tr><tr valign="top"><td class="Cell">
			 <p>
				<b>Common tasks</b> 
			 </p></td><td class="Cell">
			 <p>
				This group provides links to the User and System include path options located in the Options window. 
			 </p></td></tr>
   </table>
	 <p>Any changes made to the MMP file either in Carbide or using an external editor are detected. If the build is for emulation, these changes are detected and used automatically. </p>
	 <p>For other build types like GCCE you are  presented with the <b>Modified MMP Files Detected</b> dialog (Figure 2) and asked which build action to take for each MMP file that has changed. Set the build option for each listed MMP file and click <b>OK</b>.</p>
	 <p align="center"><img src="images/wnd_modified_mmp_files.png" width="617" height="300"></p>
	 <p align="left" class="figure">Figure 2 - Modified MMP Files Detected dialog </p>
	 <p align="left">The options  are  identical to the workspace setting <b>Default action to take when MMP files are modified </b>option in the <b>Build</b> preference panel. Click the <b>Configure Workspace Settings...</b> to open the <a href="wnd_build_prefs.htm">Build</a><b> </b>preference panel to set the default build options for the workspace. The options  can also be modified at the  project level in the <b>Properties for &lt;<i>project</i>&gt; &gt; </b><a href="build_properties/pane_project_settings.htm">Carbide Project Settings</a> panel. </p>
	 <h5>Related references</h5>
       <ul>
      <li><a href="MMP_Editor_sources.html">MMP Editor Sources window</a></li>
      <li><a href="MMP_Editor_libraries.html">MMP Editor Libraries window</a></li>
      <li><a href="MMP_Editor_options.html">MMP Editor Options window</a></li>
      <li><a href="MMP_Editor_mmp_tab.html">MMP File Window</a></li>
    </ul>
  
   
<div id="footer">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>

   </body>
</html>