carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/tasks/cdt_t_manualbuild.htm
author cawthron
Fri, 04 Dec 2009 10:01:33 -0600
changeset 5 684bf18fdedf
permissions -rw-r--r--
add files for RCL_2_2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     2
<html lang="en">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     3
<head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     4
  <meta http-equiv="Content-Language" content="en-us">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     6
  <title>Building Manually</title>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     7
  <link rel="stylesheet" type="text/css" href="../help.css">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     8
</head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     9
<body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    10
<h1>Building Manually</h1>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    11
<p>Manual builds let you choose the scope of a build, as well as
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    12
options for building, or rebuilding projects. You can view the output
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    13
of the make utility in the console.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    14
<p><img src="../images/console_build.png"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    15
 alt="Sample build in console view"></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    16
<dl>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    17
  <dt>Incremental Builds</dt>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    18
  <dd>To incrementally build all open projects, you can select <b>Project
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    19
&gt; Build All</b> or type <b>CTRL+B</b>.</dd>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    20
  <dt>Build Individual Projects</dt>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    21
  <dd>To build individual projects click <b>Project &gt; Build Project</b>.</dd>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    22
  <dt>Rebuild Projects</dt>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    23
  <dd>To rebuild a project right click on the project and select <b>Rebuild
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    24
Project</b>.<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    25
    <b>Note: </b>This will rebuild projects that this project
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    26
references as well, but will not rebuild projects that references this
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    27
one.</dd>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    28
  <dt>Build Automatically</dt>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    29
  <dd>This performs a Build All whenever any project file is saved,
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    30
such as your <tt>makefile</tt>. <br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    31
    <b>Tip: </b>For C/C++ projects, this feature should be turned off.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    32
If there is a checkmark beside <b>Build Automatically</b> the feature
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    33
is on. To turn it off, select <b>Build Automatically</b>.</dd>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    34
</dl>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    35
<p><b>Tip: </b>If you get the error message:</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    36
<p><samp>Exec error:Launching failed</samp></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    37
<p>then CDT cannot locate the build command, (usually <samp>make</samp>).
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    38
Either your path is not configured correctly or you do not have <samp>make</samp>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    39
installed on your system.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    40
<p><b>Tip: </b>The menubar item <b>Project &gt; Build Working Set</b>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    41
submenu for C/C++ projects simply creates a link to the build all
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    42
target as defined in your makefile, and is no different from an <b>Incremental
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    43
Build</b>.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    44
<p><img border="0" src="../images/ngconcepts.gif" alt="Related concepts"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    45
 width="143" height="21">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    46
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    47
<a href="../concepts/cdt_c_build_over.htm">Build overview</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    48
<p><img border="0" src="../images/ngtasks.gif" alt="Related tasks"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    49
 width="143" height="21">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    50
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    51
<a href="cdt_t_proj_build_set.htm">Defining Project Build settings</a><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    52
<a href="cdt_o_build_task.htm">Building projects</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    53
<p><img border="0" src="../images/ngref.gif" alt="Related reference"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    54
 width="143" height="21">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    55
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    56
<a href="../reference/cdt_u_newproj_buildset.htm">Make Builder page,
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    57
C/C++ Properties window</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    58
<img src="../images/ng00_04a.gif" alt="IBM Copyright Statement">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    59
</body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    60
</html>