carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/tasks/cdt_t_proj_paths.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 3.2 Final//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>Adding Include paths and symbols</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
<script language="JavaScript">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     9
function newWin(url) {
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    10
	window.open(url, 'install_cdt', 'width=930, height=790, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    11
}
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    12
</script>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    13
</head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    14
<body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    15
<h1>Adding Include paths and symbols</h1>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    16
<p>For CDT projects, you can define include paths and
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    17
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>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    18
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    19
<p>If Autodiscovery is enabled, after a build finishes, any
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    20
discovered paths and symbols will be displayed in the <b>Discoverd Paths</b>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    21
section. You can also define the properties on a per project basis in
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    22
the C/C++ Projects or Navigator views.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    23
<p>To add include paths and symbols:</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    24
<ol>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    25
  <li>To set properties for your project, right-click your CDT
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    26
project and select <b>Properties</b>. Alternatively, to set properties
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    27
for a specific source file in your project, right-click a source file
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    28
within your make project and select <span
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    29
 style="font-weight: bold;">Properties</span>. </li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    30
  <li>Expand <b>C/C++ General</b> and select <b>Paths and Symbols</b>.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    31
 <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>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    32
</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    33
  <li>Click <b>Add</b> to define new element (Include Path, Symbol, Library path etc).
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    34
  </li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    35
  <li>Click <b>Edit</b> to change selected element (Include Path, Symbol, Library path etc).
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    36
  </li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    37
  <li>Click <b>Delete</b> to remove selected element (Include Path, Symbol, Library path etc).
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    38
  </li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    39
  <li>Click <b>Export</b> to make selected element (Include Path, Symbol, Library path etc) exported.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    40
  </li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    41
  <li>Click <b>Unexport</b> to remove selected element (Include Path, Symbol, Library path etc) from export list.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    42
  </li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    43
  <li>Click <b>Move up</b> and <b>Move down</b> to set elements (Include Paths, Library paths etc) order.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    44
  </li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    45
</ol>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    46
<p><img src="../images/ngconcepts.gif" alt="Related concepts" border="0"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    47
 height="21" width="143"><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    48
<a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    49
<a href="../concepts/cdt_c_proj_file_views.htm">Project file views</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    50
<p><img src="../images/ngtasks.gif" alt="Related tasks" border="0"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    51
 height="21" width="143"><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    52
<a href="cdt_o_proj_files.htm">Working with C/C++ project files</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    53
<img src="../images/ng00_04a.gif" alt="QNX Copyright Statement">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    54
</body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    55
</html>