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