<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//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>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> <h1>Adding Include paths and symbols</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 <b>Discoverd Paths</b> 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 <b>Properties</b>. 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 <b>C/C++ General</b> and select <b>Paths and Symbols</b>. <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 <b>Add</b> to define new element (Include Path, Symbol, Library path etc). </li> <li>Click <b>Edit</b> to change selected element (Include Path, Symbol, Library path etc). </li> <li>Click <b>Delete</b> to remove selected element (Include Path, Symbol, Library path etc). </li> <li>Click <b>Export</b> to make selected element (Include Path, Symbol, Library path etc) exported. </li> <li>Click <b>Unexport</b> to remove selected element (Include Path, Symbol, Library path etc) from export list. </li> <li>Click <b>Move up</b> and <b>Move down</b> to set elements (Include Paths, Library paths etc) order. </li> </ol> <p><img src="../images/ngconcepts.gif" alt="Related concepts" border="0" 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" border="0" 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"> </body> </html>