ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/doc/html/BuildFileExamples.html
(Generate patch)

Comparing COMP/SCRAM/doc/html/BuildFileExamples.html (file contents):
Revision 1.4.2.4 by williamc, Wed Sep 15 07:53:19 1999 UTC vs.
Revision 1.4.2.5 by williamc, Wed Oct 13 13:42:52 1999 UTC

# Line 16 | Line 16 | e.g.
16   <pre>
17   &lt;Group name=G3>
18   &lt;External ref=X11>
19 +
20 + &lt;Environment>
21   &lt;Use name=CARF>
22   &lt;Lib name=examplelib></lib>
23   &lt;bin file=example1.cpp>
24   You can write between bin tags some documentation to describe what the binary
25 < does
25 > does. As the bin tag is inside the Environment tags this environment will apply
26 > in addition. (i.e example1.cpp will use CARF and the library examplelib as well
27 > as X11 and G3)
28   &lt;/bin>
29 + &lt;/Environment>
30 +
31   &lt;bin file=example2.cpp name=mytestexe>
32   Here we call the final binary a different name from the default.
33   &lt;/bin>
28 &lt;/Use>
29 &lt;/External>
30 &lt;/External>
34   </pre>
35   </font>
36   This file will build two executables called (example1 and mytestexe) from files example1.cpp and example2.cpp respectively. Both are built in the context of
37 < external libraries cmsim and X11 as well as a local package from the same
38 < project called CARF <p>
39 < <em><b>Note: Theres still much work to be done here</b></em><br>
37 > external libraries defined by the group G3 and the external package X11.
38 > example1 will in addition be built with CARF and examplelib<p>
39 > <em><b>Note: Theres still work to be done here</b></em><br>
40          <ul>
38        <li> &lt;/External> and &lt;/Use> tags do not remove the
39                external package as you might expect.
41          <li> Anything Outside of the bin tags will be included in the
42                  GNUmakefile. This allows you the full functionality of gmake
43                  to make up for any inadequacies. Hopefully as full scram

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines