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