carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/tasks/cdt_t_discovery.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 4.01//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>Set Discovery Options</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>Set Discovery Options</h1>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    11
<p>For most <b>make</b> projects, you will want to parse the output of
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    12
the build to populate your paths and symbols tables. </p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    13
<p><b>To populate your tables:</b></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    14
<ol>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    15
	<li>Right-click on a project and select <b>Properties</b>.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    16
	<li>Expand <b>C/C++ Build</b> and select <b>Discovery options</b>.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    17
	<li>Select the <b>Automate discovery of paths and symbols</b> option so that it is enabled.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    18
	<li>For the scanner configuration on the Discovery Options page of the C/C++ Properties window, you have the following options:
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    19
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    20
<p>There are various discovery profiles available on a <b>Per project</b> basis - all discovered paths and symbols are associated with the project; all files use this information. <br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    21
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    22
<dl>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    23
  <dt>Enable generate scanner info command</dt>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    24
  <dd>Enables the retrieval of information from the scanner.</dd>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    25
  </dl>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    26
<p></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    27
<div style="margin-left: 40px;"><br><img
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    28
 alt="C/C++ Project Properties, Discovery Options"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    29
 src="../images/dprop_make_discovery_file.png" style="width: 1133px; height: 745px;"><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    30
</div>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    31
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    32
<p>For both profiles, there is an option to discover paths and symbols
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    33
based on a previous builds' output. To activate the discovery, click <b>Browse</b> to select a
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    34
build log file, and then click the <span style="font-weight: bold;">Load</span>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    35
button.<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    36
</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    37
</ol>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    38
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    39
<p><img src="../images/ngref.gif" alt="Related reference" border="0"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    40
 height="21" width="143"><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    41
<a href="cdt_t_convert_cdt_proj.htm">Converting CDT 1.x Projects</a><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    42
<a href="../reference/cdt_u_prop_build_discovery.htm">C/C++ Project
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    43
Properties, Discovery Options</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    44
<img src="../images/ng00_04a.gif" alt="QNX Copyright Statement">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    45
</body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    46
</html>