2003-11-28 21:50:02 +00:00
<!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 > Specifying the location of source files< / title >
< link rel = "stylesheet" type = "text/css" href = "../help.css" >
2004-06-14 11:25:12 +00:00
2003-11-28 21:50:02 +00:00
< / head >
< body >
< h1 > Specifying the location of source files< / h1 >
2005-08-09 19:55:59 +00:00
< p > You can specify the locations of source files used when debugging a C or C++
application. By default, this information is taken from your project.< / p >
2003-11-28 21:50:02 +00:00
2005-08-09 19:55:59 +00:00
< p > To specify the locations of source files:< / p >
2003-11-28 21:50:02 +00:00
< ol >
< li > In the C/C++ Projects view, select a project.< / li >
2010-03-31 01:34:27 +00:00
< li > Click < strong > Run > Run< / strong > or < strong > Run > Debug< / strong > .< / li >
< li > In the < strong > Configurations< / strong > box, expand < strong > C/C++ Local< / strong > .< / li >
2003-11-28 21:50:02 +00:00
< li > Select a run or debug configuration.< / li >
2010-03-31 01:34:27 +00:00
< li > Click the < strong > Source< / strong > tab.< / li >
2005-08-09 19:55:59 +00:00
< li > To add a source container to the source locations list:
2004-04-26 15:41:43 +00:00
< ul >
2010-03-31 01:34:27 +00:00
< li > Click < strong > Add< / strong > to open the < strong > Add Source< / strong > dialog box< / li >
2005-08-09 19:55:59 +00:00
< li > Select a container type.< / li >
< li > Select a container from the list of available containers of the selected type.< / li >
< / ul >
2010-03-31 01:34:27 +00:00
< li > You can remove or modify a source container by selecting a container and clicking the < strong > Remove< / strong > or < strong > Edit< / strong > button.< / li >
2005-08-09 19:55:59 +00:00
< li > You can change the order of source containers by selecting a container and clicking
2010-03-31 01:34:27 +00:00
the < strong > Up< / strong > or < strong > Down< / strong > buttons.< / li >
< li > To search for duplications in your source locations select the < strong > Search for duplicate source files on the path< / strong > checkbox.< / li >
2004-05-10 14:38:08 +00:00
< / ol >
2003-11-28 21:50:02 +00:00
< p > < img border = "0" src = "../images/ngconcepts.gif" ALT = "Related concepts" width = "143" height = "21" >
< 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 border = "0" src = "../images/ngtasks.gif" ALT = "Related tasks" width = "143" height = "21" >
< br >
< a href = "cdt_o_run_config.htm" > Creating or editing a run configuration< / a > < / p >
< p > < img border = "0" src = "../images/ngref.gif" ALT = "Related reference" width = "143" height = "21" >
< br >
< a href = "../reference/cdt_o_run_dbg_pages.htm" > Run and Debug dialog box< / a > < / p >
2004-06-24 10:49:13 +00:00
< img src = "../images/ng00_04a.gif" ALT = "IBM Copyright Statement" >
2003-11-28 21:50:02 +00:00
< / body >
< / html >