2003-11-28 21:50:02 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
< html lang = "en" >
< head >
2005-07-22 17:23:58 +00:00
< 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" >
2007-06-19 19:34:42 +00:00
< 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 >
2003-11-28 21:50:02 +00:00
< / head >
< body >
2004-06-21 10:33:03 +00:00
< h1 > Adding Include paths and symbols< / h1 >
2007-06-19 19:34:42 +00:00
< 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 >
2007-05-21 11:56:55 +00:00
2007-06-19 19:34:42 +00:00
< p > If Autodiscovery is enabled, after a build finishes, any
discovered paths and symbols will be displayed in the < b > Discoverd Paths< / b >
2005-07-22 17:23:58 +00:00
section. You can also define the properties on a per project basis in
2007-06-19 19:34:42 +00:00
the C/C++ Projects or Navigator views.< / p >
2004-06-21 10:33:03 +00:00
< p > To add include paths and symbols:< / p >
2007-06-19 19:34:42 +00:00
< ol >
< li > To set properties for your project, right-click your CDT
2005-07-22 17:23:58 +00:00
project and select < b > Properties< / b > . Alternatively, to set properties
2007-06-19 19:34:42 +00:00
for a specific source file in your project, right-click a source file
within your make project and select < span
2005-07-22 17:23:58 +00:00
style="font-weight: bold;">Properties< / span > . < / li >
2007-06-19 19:34:42 +00:00
< 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).
2007-05-21 11:56:55 +00:00
< / li >
2007-06-19 19:34:42 +00:00
< li > Click < b > Edit< / b > to change selected element (Include Path, Symbol, Library path etc).
2007-05-21 11:56:55 +00:00
< / li >
2007-06-19 19:34:42 +00:00
< li > Click < b > Delete< / b > to remove selected element (Include Path, Symbol, Library path etc).
2007-05-21 11:56:55 +00:00
< / li >
2007-06-19 19:34:42 +00:00
< li > Click < b > Export< / b > to make selected element (Include Path, Symbol, Library path etc) exported.
2007-05-21 11:56:55 +00:00
< / li >
2007-06-19 19:34:42 +00:00
< li > Click < b > Unexport< / b > to remove selected element (Include Path, Symbol, Library path etc) from export list.
2007-05-21 11:56:55 +00:00
< / li >
2007-06-19 19:34:42 +00:00
< li > Click < b > Move up< / b > and < b > Move down< / b > to set elements (Include Paths, Library paths etc) order.
2007-05-21 11:56:55 +00:00
< / li >
2007-06-19 19:34:42 +00:00
< / ol >
2005-07-22 17:23:58 +00:00
< p > < img src = "../images/ngconcepts.gif" alt = "Related concepts" border = "0"
height="21" width="143">< br >
2004-04-26 15:41:43 +00:00
< 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 >
2005-07-22 17:23:58 +00:00
< p > < img src = "../images/ngtasks.gif" alt = "Related tasks" border = "0"
height="21" width="143">< br >
2003-11-28 21:50:02 +00:00
< a href = "cdt_o_proj_files.htm" > Working with C/C++ project files< / a > < / p >
2007-06-19 19:34:42 +00:00
< img src = "../images/ng00_04a.gif" alt = "QNX Copyright Statement" >
2003-11-28 21:50:02 +00:00
< / body >
2005-07-22 17:23:58 +00:00
< / html >