| <!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>Adding Include paths and symbols</title> |
| <link rel="stylesheet" type="text/css" href="../help.css"> |
| <script language="JavaScript"> |
| function newWin(url) { |
| window.open(url, 'install_cdt', 'width=930, height=790, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes'); |
| } |
| </script> |
| </head> |
| <body> |
| <div role="main"><h1>Adding Include paths and symbols in Managed Build System</h1> |
| <p>For CDT projects, you can define include paths and |
| preprocessor symbols for the parser. This lets the parser understand the contents of the C/C++ source code so that you can more effectively use the search and code completion features. </p> |
| |
| <p>If Autodiscovery is enabled, after a build finishes, any |
| discovered paths and symbols will be displayed in the <strong>Discovered Paths</strong> |
| section. You can also define the properties on a per project basis in |
| the C/C++ Projects or Navigator views.</p> |
| <p>To add include paths and symbols:</p> |
| <ol> |
| <li>To set properties for your project, right-click your CDT |
| project and select <strong>Properties</strong>. Alternatively, to set properties |
| for a specific source file in your project, right-click a source file |
| within your make project and select <span |
| style="font-weight: bold;">Properties</span>. </li> |
| <li>Expand <strong>C/C++ General</strong> and select <strong>Paths and Symbols</strong>. |
| <p><br><a href="javascript:void(0)" onClick="newWin('../images/c_paths.png')">Click here to see an illustration (displayed in a separate window)</a>.</p><br> |
| </li> |
| <li>Click <strong>Add</strong> to define new element (Include Path, Symbol, Library path etc). |
| </li> |
| <li>Click <strong>Edit</strong> to change selected element (Include Path, Symbol, Library path etc). |
| </li> |
| <li>Click <strong>Delete</strong> to remove selected element (Include Path, Symbol, Library path etc). |
| </li> |
| <li>Click <strong>Export</strong> to make selected element (Include Path, Symbol, Library path etc) exported. |
| </li> |
| <li>Click <strong>Unexport</strong> to remove selected element (Include Path, Symbol, Library path etc) from export list. |
| </li> |
| <li>Click <strong>Move up</strong> and <strong>Move down</strong> to set elements (Include Paths, Library paths etc) order. |
| </li> |
| </ol> |
| <p><img src="../images/ngconcepts.gif" alt="Related concepts" |
| height="21" width="143"><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" |
| height="21" width="143"><br> |
| <a href="cdt_o_proj_files.htm">Working with C/C++ project files</a></p> |
| <img src="../images/ng00_04a.gif" alt="QNX Copyright Statement"> |
| </div></body> |
| </html> |