mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 09:55:29 +02:00
Bug #185048: doc update.
This commit is contained in:
parent
c4efff983f
commit
e8e2cfb932
7 changed files with 23 additions and 26 deletions
Binary file not shown.
Before Width: | Height: | Size: 6.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 6.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 20 KiB |
BIN
doc/org.eclipse.cdt.doc.user/images/c_paths.png
Normal file
BIN
doc/org.eclipse.cdt.doc.user/images/c_paths.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 46 KiB |
Binary file not shown.
Before Width: | Height: | Size: 25 KiB |
BIN
doc/org.eclipse.cdt.doc.user/images/c_symbols.png
Normal file
BIN
doc/org.eclipse.cdt.doc.user/images/c_symbols.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 44 KiB |
|
@ -8,46 +8,43 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Adding Include paths and symbols</h1>
|
<h1>Adding Include paths and symbols</h1>
|
||||||
<p>For Standard Make projects you can define include paths and
|
<p>For CDT projects you can define include paths and
|
||||||
preprocessor symbols for the parser. This enables the parser to
|
preprocessor symbols for the parser. This enables the parser to
|
||||||
understand the contents of the C/C++ source code so that you may more
|
understand the contents of the C/C++ source code so that you may more
|
||||||
effectively use the search and code completion features. </p>
|
effectively use the search and code completion features. </p>
|
||||||
|
|
||||||
<p>If Autodiscovery is enabled once a build has completed any
|
<p>If Autodiscovery is enabled once a build has completed any
|
||||||
discovered paths and symbols will be displayed in the Discoverd Paths
|
discovered paths and symbols will be displayed in the Discoverd Paths
|
||||||
section. You can also define the properties on a per project basis in
|
section. You can also define the properties on a per project basis in
|
||||||
the C/C++ Projects or Navigator views.</p>
|
the C/C++ Projects or Navigator views.</p>
|
||||||
<p>To add include paths and symbols:</p>
|
<p>To add include paths and symbols:</p>
|
||||||
<ol>
|
<ul>
|
||||||
<li>To set properties for your project right click your standard make
|
<li>To set properties for your project right click your CDT
|
||||||
project and select <b>Properties</b>. Alternatively, to set properties
|
project and select <b>Properties</b>. Alternatively, to set properties
|
||||||
for a specific source file in your project right click a source file
|
for a specific source file in your project right click a source file
|
||||||
within your standard make project and select <span
|
within your standard make project and select <span
|
||||||
style="font-weight: bold;">Properties</span>. </li>
|
style="font-weight: bold;">Properties</span>. </li>
|
||||||
<li>Click <b>C/C++ Include Paths and Symbols</b>.<br>
|
<li>Click <b>C/C++ Include Paths and Symbols</b>.<br>
|
||||||
<img src="../images/c_paths_symbols.png"
|
<img src="../images/c_paths.png"
|
||||||
alt="Paths and Symbols Prefereces Window"><br>
|
alt="Paths and Symbols Property Window - Symbols Tab">
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<img src="../images/c_symbols.png"
|
||||||
|
alt="Paths and Symbols Property Window - Includes Tab"><br>
|
||||||
</li>
|
</li>
|
||||||
<li>Select <b>Add Preprocessor Symbol...</b><br>
|
<li>Use "Add" button to define new element (Include Path, Symbol, Library path etc).
|
||||||
<img src="../images/add_preprocessor_symbol.png"
|
</li>
|
||||||
alt="Add Preprocessor Symbols Window"><br>
|
<li>Use "Edit" button to change selected element (Include Path, Symbol, Library path etc).
|
||||||
and enter your symbol.<br>
|
</li>
|
||||||
</li>
|
<li>Use "Delete" button to remove selected element (Include Path, Symbol, Library path etc).
|
||||||
<li>Select <b>Add External Include Path...</b><br>
|
</li>
|
||||||
<img src="../images/add_external_include_path.png"
|
<li>Use "Export" button to make selected element (Include Path, Symbol, Library path etc) exported.
|
||||||
alt="Add External Include Path Window"><br>
|
</li>
|
||||||
and enter your path.<br>
|
<li>Use "Unexport" button to remove selected element (Include Path, Symbol, Library path etc) from export list.
|
||||||
</li>
|
</li>
|
||||||
<li>Select the container and click <b>Edit</b> to change the order
|
<li>Use "Move up" and "Move down" buttons to set elements (Include Paths, Library paths etc) order.
|
||||||
in which your new path or symbol is used.<br>
|
</li>
|
||||||
<img src="../images/c_path_symbols_edit.png"
|
</ul>
|
||||||
alt="Edit Paths and Symbols Container Window"><br>
|
|
||||||
</li>
|
|
||||||
<li>Select the new object and click <b>Up</b> or <b>Down</b> to
|
|
||||||
move it higher or lower in the order, or you can disable it by clicking
|
|
||||||
<b>Disable</b>.</li>
|
|
||||||
<li>Click <b>Finish</b> to close the Edit Container window.</li>
|
|
||||||
<li>Click <b>OK</b> to close the Preferences window.</li>
|
|
||||||
</ol>
|
|
||||||
<p><img src="../images/ngconcepts.gif" alt="Related concepts" border="0"
|
<p><img src="../images/ngconcepts.gif" alt="Related concepts" border="0"
|
||||||
height="21" width="143"><br>
|
height="21" width="143"><br>
|
||||||
<a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br>
|
<a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br>
|
||||||
|
|
Loading…
Add table
Reference in a new issue