File: cdt_t_proj_build_set.htm

package info (click to toggle)
eclipse-cdt 8.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 150,024 kB
  • ctags: 159,512
  • sloc: java: 1,087,138; xml: 54,281; ansic: 5,236; cpp: 5,123; makefile: 1,338; sh: 189; asm: 42; f90: 22
file content (67 lines) | stat: -rw-r--r-- 2,973 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
  <meta http-equiv="Content-Language" content="en-us">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>Defining Project Build settings</title>
  <link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<div role="main"><h1>Defining Project Build settings</h1>
<p>The <strong>Builder Settings</strong> page lets you:</p>
<ul>
  <li>Select whether CDT-generated makefile should be used or custom one.</li>
  <li>Select internal or external builder (for generated makefile only).</li>
  <li>Change the default build command (for external builder or for custom makefile).</li>
  <li>Configure how the CDT handles make errors.</li>
  <li>Change parallel build settings.</li> 
  <li>Map the target passed to make when you select build or rebuild.</li>
  <li>Redefine build directory (for custom makefile only)</li>
</ul>

<p>To define build settings:<br>
In the C/C++ Projects view, right-click your project, and select <strong>Properties</strong>. 
Select <strong>C/C++ Build </strong> from the list.
</p>

<p><img src="../images/builder_settings.png"
 alt="Defining Project Build settings"></p>

<ul>
  <li>To stop the build when an error is encountered, select <strong>Stop
on first build error</strong>.</li>
  <li>Select one of the following build command settings:
  <ul>
    <li>To use the default make command, select the <strong>Use Default</strong>
check box.</li>
    <li>To use a build utility other than the default make command <strong>Build
Command</strong> box, clear the <strong>Use Default</strong> check box .</li>
  </ul>
  </li>
  <li>In the Workbench Build Behavior box, do the following:
  <ul>
    <li>To build your project when resources are saved and change the
default make build target, select the <strong>Build on resource save (Auto
Build)</strong> check box. Enter a new build target in the <strong>Make build
target</strong> box.</li>
    <li>To change the build default make build target, select the <strong>Build
(Incremental Build)</strong> check box. Enter a new build target in the <strong>Make
build target</strong> box.</li>
    <li>To change the rebuild default make build target, select the <strong>Rebuild
(Full Build)</strong> check box. Enter a new build target in the <strong>Make
build target</strong> box.</li>
  </ul>
  </li>
  <li>Click <span style="font-weight: bold;">OK</span>.</li>
</ul>
<p><img src="../images/ngconcepts.gif" alt="Related concepts"
 width="143" height="21"><br>
<a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br>
<a href="../concepts/cdt_c_proj_file_views.htm">Project file views</a></p>
<p><img src="../images/ngtasks.gif" alt="Related tasks"
 width="143" height="21">
<br>
<a href="cdt_o_proj_files.htm">Working with C/C++ project files</a></p>
<img src="../images/ng00_04a.gif" alt="IBM Copyright Statement">
</div></body>
</html>