|
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>Defining Project Build settings</title> |
|
7 <link rel="stylesheet" type="text/css" href="../help.css"> |
|
8 </head> |
|
9 <body> |
|
10 <h1>Defining Project Build settings</h1> |
|
11 <p>The <b>Builder Settings</b> page lets you:</p> |
|
12 <ul> |
|
13 <li>Select whether CDT-generated makefile should be used or custom one.</li> |
|
14 <li>Select internal or external builder (for generated makefile only).</li> |
|
15 <li>Change the default build command (for external builder or for custom makefile).</li> |
|
16 <li>Configure how the CDT handles make errors.</li> |
|
17 <li>Change parallel build settings.</li> |
|
18 <li>Map the target passed to make when you select build or rebuild.</li> |
|
19 <li>Redefine duild directory (for custom makefile only)</li> |
|
20 </ul> |
|
21 |
|
22 <p>To define build settings:<br> |
|
23 In the C/C++ Projects view, right-click your project, and select <b>Properties</b>. |
|
24 Select <b>C/C++ Build </b> from the list.</li> |
|
25 </p> |
|
26 |
|
27 <p><img src="../images/builder_settings.png" |
|
28 alt="Defining Project Build settings"></p> |
|
29 |
|
30 <ul> |
|
31 <li>To stop the build when an error is encountered, select <b>Stop |
|
32 on first build error</b>.</li> |
|
33 <li>Select one of the following build command settings:</li> |
|
34 <ul> |
|
35 <li>To use the default make command, select the <b>Use Default</b> |
|
36 check box.</li> |
|
37 <li>To use a build utility other than the default make command <b>Build |
|
38 Command</b> box, clear the <b>Use Default</b> check box .</li> |
|
39 </ul> |
|
40 <li>In the Workbench Build Behavior box, do the following:</li> |
|
41 <ul> |
|
42 <li>To build your project when resources are saved and change the |
|
43 default make build target, select the <b>Build on resource save (Auto |
|
44 Build)</b> check box. Enter a new build target in the <b>Make build |
|
45 target</b> box.</li> |
|
46 <li>To change the build default make build target, select the <b>Build |
|
47 (Incremental Build)</b> check box. Enter a new build target in the <b>Make |
|
48 build target</b> box.</li> |
|
49 <li>To change the rebuild default make build target, select the <b>Rebuild |
|
50 (Full Build)</b> check box. Enter a new build target in the <b>Make |
|
51 build target</b> box.</li> |
|
52 </ul> |
|
53 <li>Click <span style="font-weight: bold;">OK</span>.</li> |
|
54 </ul> |
|
55 <p><img border="0" src="../images/ngconcepts.gif" alt="Related concepts" |
|
56 width="143" height="21"><br> |
|
57 <a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br> |
|
58 <a href="../concepts/cdt_c_proj_file_views.htm">Project file views</a></p> |
|
59 <p><img border="0" src="../images/ngtasks.gif" alt="Related tasks" |
|
60 width="143" height="21"> |
|
61 <br> |
|
62 <a href="cdt_o_proj_files.htm">Working with C/C++ project files</a></p> |
|
63 <img src="../images/ng00_04a.gif" alt="IBM Copyright Statement"> |
|
64 </body> |
|
65 </html> |