A build tree is a simpli®ed version of the build object model, showing the dependencies that the parts in an application have on one another. If you change the relationship of one part to another, the build tree changes accordingly. Figure 45 shows a build tree for the hello application:

Figure 45. The build tree for the hello application

In this simple application, hello.c is compiled to create hello.obj, which in turn is linked to create hello.exe. The build tree shows that hello.exe is the parent of hello.obj, which in turn is the parent of hello.c. To build the entire application, you request to build hello.exe.

Just as the parts that make up an application are versioned, the relationships between these parts are versioned. Thus, more than one version of the build tree can exist. For example, Figure 46 on page 135 shows two different versions of the same build tree:

134User's Guide

Page 154
Image 154
IBM SC34-4499-03 manual Build tree for the hello application