mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 14:12:10 +02:00
53 lines
No EOL
2.2 KiB
HTML
53 lines
No EOL
2.2 KiB
HTML
<!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">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>Specifying the location of source files</h1>
|
|
|
|
<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>
|
|
|
|
<p>To specify the locations of source files:</p>
|
|
|
|
<ol>
|
|
<li>In the C/C++ Projects view, select a project.</li>
|
|
<li>Click <b>Run > Run</b> or <b>Run > Debug</b>.</li>
|
|
<li>In the <b>Configurations</b> box, expand <b>C/C++ Local</b>.</li>
|
|
<li>Select a run or debug configuration.</li>
|
|
<li>Click the <b>Source</b> tab.</li>
|
|
<li>To add a source container to the source locations list:
|
|
<ul>
|
|
<li>Click <b>Add</b> to open the <b>Add Source</b> dialog box</li>
|
|
<li>Select a container type.</li>
|
|
<li>Select a container from the list of available containers of the selected type.</li>
|
|
</ul>
|
|
<li>You can remove or modify a source container by selecting a container and clicking the <b>Remove</b> or <b>Edit</b> button.</li>
|
|
<li>You can change the order of source containers by selecting a container and clicking
|
|
the <b>Up</b> or <b>Down</b> buttons.</li>
|
|
<li>To search for duplications in your source locations select the <b>Search for duplicate source files on the path</b> checkbox.</li>
|
|
</ol>
|
|
|
|
<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>
|
|
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
|
|
|
|
</body>
|
|
|
|
</html> |