carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/tasks/cdt_t_run_source.htm
changeset 5 684bf18fdedf
equal deleted inserted replaced
4:4764c8c88759 5:684bf18fdedf
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
       
     2 <html lang="en">
       
     3 
       
     4 <head>
       
     5 <meta http-equiv="Content-Language" content="en-us">
       
     6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
       
     7 <title>Specifying the location of source files</title>
       
     8 <link rel="stylesheet" type="text/css" href="../help.css">
       
     9 
       
    10 </head>
       
    11 
       
    12 <body>
       
    13 
       
    14 <h1>Specifying the location of source files</h1>
       
    15 
       
    16 <p>You can specify the locations of source files used when debugging a C or C++ 
       
    17 application. By default, this information is taken from your project.</p>
       
    18 
       
    19 <p>To specify the locations of source files:</p>
       
    20 
       
    21 <ol>
       
    22   <li>In  the C/C++ Projects view, select a project.</li>
       
    23   <li>Click <b>Run &gt; Run</b> or <b>Run &gt; Debug</b>.</li>
       
    24   <li>In the <b>Configurations</b> box, expand <b>C/C++ Local</b>.</li>
       
    25   <li>Select a run or debug configuration.</li>
       
    26   <li>Click the <b>Source</b> tab.</li>
       
    27 	<li>To add a source container to the source locations list:  
       
    28 	<ul>
       
    29 		<li>Click <b>Add</b> to open the <b>Add Source</b> dialog box</li>
       
    30 	    <li>Select a container type.</li>
       
    31     	<li>Select a container from the list of available containers of the selected type.</li>
       
    32     </ul>
       
    33 	<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>
       
    34 	<li>You can change the order of source containers by selecting a container and clicking 
       
    35 		the <b>Up</b> or <b>Down</b> buttons.</li>
       
    36 	<li>To search for duplications in your source locations select the <b>Search for duplicate source files on the path</b> checkbox.</li>
       
    37 </ol>
       
    38 
       
    39 <p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
       
    40 <br>
       
    41 <a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br>
       
    42 <a href="../concepts/cdt_c_proj_file_views.htm">Project file views</a></p>
       
    43 <p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
       
    44 <br>
       
    45 <a href="cdt_o_run_config.htm">Creating or editing a run configuration</a></p>
       
    46 <p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
       
    47 <br>
       
    48 <a href="../reference/cdt_o_run_dbg_pages.htm">Run and Debug dialog box</a></p>
       
    49 <img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
       
    50 
       
    51 </body>
       
    52 
       
    53 </html>