mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
72 lines
No EOL
2.5 KiB
HTML
72 lines
No EOL
2.5 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>Building manually</title>
|
|
<link rel="stylesheet" type="text/css" href="../help.css">
|
|
<script language="JavaScript">
|
|
function changeSize(theImage,wd,ht) {
|
|
wdth=parseInt(theImage.style.width); hght=parseInt(theImage.style.height);
|
|
if ( !(wdth==(wd*2)) ) {wdth=wd*2; hght=ht*2;}
|
|
else {wdth=wd;hght=ht;}
|
|
theImage.style.width=wdth; theImage.style.height=hght;
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>Building manually</h1>
|
|
|
|
<p>Manual builds let you choose the scope of a build, as well as options for building,
|
|
or rebuilding projects. You can view the output of the make utility in the console.</p>
|
|
|
|
<p><img src="../images/console_build.png" width="300" height="75" onClick="changeSize(this,300,75);"
|
|
alt="Screen capture showing sample build in console veiw" title="click to toggle image size"></p>
|
|
|
|
|
|
<p>To rebuild all open projects:</p>
|
|
|
|
<p>You can manually rebuild all open projects. Depending
|
|
on the number of projects, the size of the projects, and the number of target
|
|
architectures, this action can take a significant amount of time. </p>
|
|
|
|
<ul>
|
|
<li>Click <b>Project > Build Project</b>. </li>
|
|
</ul>
|
|
|
|
<p>To rebuild a single project:</p>
|
|
|
|
<p>Because rebuilding all open projects may be time-consuming, you may
|
|
want to build only certain projects.</p>
|
|
|
|
<ul>
|
|
<li>In C/C++ Projects view, right-click a project, and click <b>Rebuild Project</b>.</li>
|
|
</ul>
|
|
|
|
<p><b>Tip:</b> If you get the error message:</p>
|
|
|
|
<p><samp>Exec error:Launching failed</samp></p>
|
|
|
|
<p>The error message means
|
|
that the CDT cannot locate the build command, (usually <samp>make</samp>). Either your path is
|
|
not configured correctly or you do not have <samp>make</samp> installed on your system.</p>
|
|
|
|
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
|
|
<br>
|
|
<a href="../concepts/cdt_c_build_over.htm">Build overview</a></p>
|
|
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
|
|
<br>
|
|
<a href="cdt_t_proj_build_set.htm">Defining Build Settings</a><br>
|
|
<a href="cdt_o_build_task.htm">Building</a></p>
|
|
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
|
|
<br>
|
|
<a href="../reference/cdt_u_newproj_buildset.htm">Make Builder page, C/C++ Properties window</a></p>
|
|
|
|
<img src="../images/ng03_04.gif" ALT="IBM Copyright Statement" BORDER=0 width="324" height="14">
|
|
|
|
</body>
|
|
|
|
</html> |