core/com.nokia.carbide.cpp.doc.user/html/concepts/dependency_tracking.htm
author fturovic <frank.turovich@nokia.com>
Mon, 10 Aug 2009 15:21:12 -0500
changeset 400 9b005a8e6778
parent 350 1c98e483817b
child 1225 a546534a48de
permissions -rw-r--r--
removed duplicate pages, unused images, and fixed links to same
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
350
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
     2
<html>
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
     3
<head>
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
     4
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
     5
<meta http-equiv="Content-Style-Type" content="text/css" />
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
     6
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
     7
<title>Dependency Tracking</title>
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
     8
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
     9
<style type="text/css">
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    10
<!--
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    11
.style1 {font-family: "Courier New", Courier, mono}
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    12
-->
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    13
</style>
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    14
</head>
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    15
<body bgcolor="#FFFFFF">
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    16
<h2>Dependency Tracking</h2>
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    17
<p> This section only applies to the SBSv1 (abld) build system. If you are using the Raptor (SBSv2) build system Carbide does not perform any build system modifications to optimize dependency tracking.</p>
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    18
<p>Carbide has made some performance improvements over command-line builds when performing incremental builds. Once a project has been built, many users  invoke 'abld build' on their project, not knowing that their makefiles are regenerated each time, taking a large performance hit. Although a command-line user can invoke 'abld target' to improve incremental build performance, Carbide invokes each build stage independently for a full incremental build (including the 'abld makefile' stage). In order to get around this performance hit from the IDE, Carbide manages the source and resource dependencies in separate <span class="style1">.d</span> (dependency) files generated under the build system. Then Carbide  makes a small modification to each component's (MMP) makefile under the <span class="style1">\epoc32\build</span>\ directory by including the generated .d files as dependency includes. This performance modification  makes incremental builds faster from Carbide.</p>
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    19
<p>Normally,  you do not need to know the details of dependency management unless you first build from the command-line and then try to build their project from the IDE. When this happens, Carbide will prompt you with the <b>Project rebuild notification</b> dialog when you initiate a build from the IDE.</p>
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    20
<p align="center"><img src="images/deps_track_query.png" width="483" height="203"></p>
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    21
<p align="left" class="figure">Figure 1 -Dependency Tracking dialog</p>
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    22
<p>It is recommended you choose the <strong>Improve Carbide build times</strong> option if you plan to continue building in Carbide. However, be cautious of this as Carbide will remove all the object code and build everything from scratch. </p>
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    23
<p>If you choose the option <strong>Do not update dependencies</strong>,  Carbide disables the option to manage dependencies under the <b><a href="../reference/build_properties/pane_project_settings.htm">Carbide Project Settings</a></b>, <strong>SBSv1</strong> tab. </p>
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    24
<h5>Related references <b></b></h5>
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    25
<ul>
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    26
  <li><a href="../reference/build_properties/pane_project_settings.htm">Carbide Project Settings</a></li>
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    27
  <li><a href="../reference/wnd_build_prefs.htm">Carbide Global Build Settings</a> </li>
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    28
</ul>
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    29
<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>
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    30
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    31
</body>
1c98e483817b minor edits to dependency tracking page
fturovic <frank.turovich@nokia.com>
parents: 323
diff changeset
    32
</html>