mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
46 lines
2 KiB
HTML
46 lines
2 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Language" content="en-us">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>Set Discovery Options</title>
|
|
<link rel="stylesheet" type="text/css" href="../help.css">
|
|
</head>
|
|
<body>
|
|
<h1>Set Discovery Options</h1>
|
|
<p>For most <b>make</b> projects, you will want to parse the output of
|
|
the build to populate your paths and symbols tables. </p>
|
|
<p><b>To populate your tables:</b></p>
|
|
<ol>
|
|
<li>Right-click on a project and select <b>Properties</b>.
|
|
<li>Expand <b>C/C++ Build</b> and select <b>Discovery options</b>.
|
|
<li>Select the <b>Automate discovery of paths and symbols</b> option so that it is enabled.
|
|
<li>For the scanner configuration on the Discovery Options page of the C/C++ Properties window, you have the following options:
|
|
|
|
<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>
|
|
|
|
<dl>
|
|
<dt>Enable generate scanner info command</dt>
|
|
<dd>Enables the retrieval of information from the scanner.</dd>
|
|
</dl>
|
|
<p></p>
|
|
<div style="margin-left: 40px;"><br><img
|
|
alt="C/C++ Project Properties, Discovery Options"
|
|
src="../images/dprop_make_discovery_file.png" style="width: 1133px; height: 745px;"><br>
|
|
</div>
|
|
<br>
|
|
<p>For both profiles, there is an option to discover paths and symbols
|
|
based on a previous builds' output. To activate the discovery, click <b>Browse</b> to select a
|
|
build log file, and then click the <span style="font-weight: bold;">Load</span>
|
|
button.<br>
|
|
</p>
|
|
</ol>
|
|
<br>
|
|
<p><img src="../images/ngref.gif" alt="Related reference" border="0"
|
|
height="21" width="143"><br>
|
|
<a href="cdt_t_convert_cdt_proj.htm">Converting CDT 1.x Projects</a><br>
|
|
<a href="../reference/cdt_u_prop_build_discovery.htm">C/C++ Project
|
|
Properties, Discovery Options</a></p>
|
|
<img src="../images/ng00_04a.gif" alt="QNX Copyright Statement">
|
|
</body>
|
|
</html>
|