20 |
|
The file <em>config/BuildFile</em> is resourced by all others in the entire |
21 |
|
tree. It controls everything else. The most important thing to set here is the |
22 |
|
<ClassPath> tags which associate <a href=#Structural>Structure BuildFiles</a> |
23 |
< |
with directory structure. You may also want to set project wide defaults. |
23 |
> |
with directory structure and set up the directory structures for the |
24 |
> |
BuildSystem. You may also want to set project wide defaults. |
25 |
|
<p> |
26 |
< |
<h3>Using the <ClassPath> tag</h3> |
26 |
> |
<h3>Defining Project Structure</h3> |
27 |
> |
You need to tell SCRAM where it can store such things as libraries, binaries |
28 |
> |
and other build products. You do this with the |
29 |
> |
<a href=BuildFile/tag_ProductStore.html><ProductStore></a> tag |
30 |
> |
<p> |
31 |
> |
<b>Example</b><p> |
32 |
> |
<font color=green> |
33 |
> |
<ProductStore name=lib type=arch><br> |
34 |
> |
<ProductStore name=bin type=arch><br> |
35 |
> |
</font> |
36 |
> |
<em>Note: Currently, bin and lib are hard-coded so you cannot point them elsewhere |
37 |
> |
without something breaking</em> |
38 |
> |
<h3>Using the <a href=BuildFile/tag_ClassPath.html><ClassPath></a> tag</h3> |
39 |
|
This tag tells SCRAM which BuildFile to associate with a particular location in |
40 |
|
the src tree.<p> |
41 |
|
Format:<br> |
93 |
|
<Build class=lib name="$(packagename)" src=$(files) default=shared_debug> |
94 |
|
</pre> |
95 |
|
</font> |
96 |
+ |
<em>Note: Currently <Build> is not yet implemented</em> |
97 |
|
|
98 |
|
|
99 |
|
<! Style Sheet Footer ---------------Do not change anything after this line--> |
100 |
|
<hr> |
101 |
|
<table border=1 width=100%> |
102 |
|
<td align=left> |
103 |
< |
<a href=mailto:Christopher.Williams@cern.ch |
104 |
< |
>Chris Williams</a> |
103 |
> |
<a href=mailto:Shaun.Ashby@cern.ch |
104 |
> |
>Shaun Ashby</a> |
105 |
|
</td> |
106 |
|
<td align=center> |
107 |
< |
Last Updated Thu Jun 15 18:57:17 2000 |
107 |
> |
<SCRIPT LANGUAGE="JAVASCRIPT">document.write("Last Updated "+ document.lastModified );</SCRIPT> |
108 |
|
</td> |
109 |
|
<td align=right><a href=/cgi-cmc/pagestat>Show Stats</a> |
110 |
|
</td> |