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 > Setting build order< / title >
< link rel = "stylesheet" type = "text/css" href = "../help.css" >
2004-04-26 15:41:43 +00:00
< script >
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 >
2003-11-28 21:50:02 +00:00
< / head >
< body >
< h1 > Setting build order< / h1 >
< p > You can specify the order in which projects are built.
Referenced projects are built first.< / p >
< p > When you set the build order, the CDT does not rebuild projects that depend
on a project. You must rebuild all projects to ensure changes are
propagated.< / p >
< p > For more information on build order, see < b > Workbench User Guide > Reference
> Preference > Build Order< / b > .< / p >
< p > To set the project build order:< / p >
< ol >
< li > Click < b > Window > Preferences< / b > .< / li >
2004-04-26 15:41:43 +00:00
< li > Select < b > Build Order< / b > from the list.< br >
< img src = "../images/build_order.png" width = "318" height = "270" onClick = "changeSize(this,318,270);" alt = "Screen capture of Build Order dialog box." title = "click to toggle image size" >
< / li >
2003-11-28 21:50:02 +00:00
< li > Clear the < b > Use default build order< / b > checkbox. < / li >
< li > Select a project in the list.< / li >
< li > Do one of the following:< / li >
< ul > < li > Click < b > Up< / b > to move the project up the list.< / li >
< li > Click < b > Down< / b > to move the project down the list.< / li > < / ul >
< li > To add projects to the build path, click < b > Add Project< / b > .< / li >
< li > Select the projects to add to the build path.< / li >
< li > Click < b > OK< / b > .< / li >
< li > To remove a project from the Project build order list, click < b > Remove
Project< / b > .< / li >
< p > When building or rebuilding all projects, the projects that have been
removed from the build order are built last.< / p >
< li > Click < b > Apply< / b > .< / li >
< / ol >
< 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 >
2003-12-19 20:47:29 +00:00
< img src = "../images/ng03_04.gif" ALT = "IBM Copyright Statement" BORDER = 0 width = "324" height = "14" >
2003-11-28 21:50:02 +00:00
< / body >
< / html >