ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/doc/html/node45.html
Revision: 1.1
Committed: Mon Nov 18 17:50:01 2002 UTC (22 years, 6 months ago) by sashby
Content type: text/html
Branch: MAIN
CVS Tags: V1_pre0, V0_19_7
Branch point for: SCRAM_V1_BRANCH
Log Message:
Generated and added HTML documentation.

File Contents

# Content
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2
3 <!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
4 patched version by: Kenshi Muto, Debian Project.
5 LaTeX2HTML 2002 (1.62),
6 original version by: Nikos Drakos, CBLU, University of Leeds
7 * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
8 * with significant contributions from:
9 Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
10 <HTML>
11 <HEAD>
12 <TITLE>3.7 Advanced Use of the SCRAM Build Command</TITLE>
13 <META NAME="description" CONTENT="3.7 Advanced Use of the SCRAM Build Command">
14 <META NAME="keywords" CONTENT="SCRAM">
15 <META NAME="resource-type" CONTENT="document">
16 <META NAME="distribution" CONTENT="global">
17
18 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
19 <META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
20 <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
21
22 <LINK REL="STYLESHEET" HREF="SCRAM.css">
23
24 <LINK REL="next" HREF="node46.html">
25 <LINK REL="previous" HREF="node43.html">
26 <LINK REL="up" HREF="node17.html">
27 <LINK REL="next" HREF="node46.html">
28 </HEAD>
29
30 <BODY bgcolor="beige" >
31 <!--Navigation Panel-->
32 <A NAME="tex2html970"
33 HREF="node46.html">
34 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
35 SRC="file:/usr/share/latex2html/icons/next.png"></A>
36 <A NAME="tex2html964"
37 HREF="node17.html">
38 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
39 SRC="file:/usr/share/latex2html/icons/up.png"></A>
40 <A NAME="tex2html958"
41 HREF="node44.html">
42 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
43 SRC="file:/usr/share/latex2html/icons/prev.png"></A>
44 <A NAME="tex2html966"
45 HREF="node2.html">
46 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
47 SRC="file:/usr/share/latex2html/icons/contents.png"></A>
48 <A NAME="tex2html968"
49 HREF="node85.html">
50 <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
51 SRC="file:/usr/share/latex2html/icons/index.png"></A>
52 <BR>
53 <B> Next:</B> <A NAME="tex2html971"
54 HREF="node46.html">3.8 Creating SCRAM Project</A>
55 <B> Up:</B> <A NAME="tex2html965"
56 HREF="node17.html">3. Creating and Maintaining</A>
57 <B> Previous:</B> <A NAME="tex2html959"
58 HREF="node44.html">3.6.0.0.1 Adding a New</A>
59 &nbsp <B> <A NAME="tex2html967"
60 HREF="node2.html">Contents</A></B>
61 &nbsp <B> <A NAME="tex2html969"
62 HREF="node85.html">Index</A></B>
63 <BR>
64 <BR>
65 <!--End of Navigation Panel-->
66
67 <H1><A NAME="SECTION00470000000000000000"></A><A NAME="sec:advanceduseofscramb"></A><A NAME="1028"></A>
68 <A NAME="1029"></A>
69 <BR>
70 3.7 Advanced Use of the SCRAM Build Command
71 </H1>
72 The default build is performed using the command <TT>scram b</TT>
73 (for <TT>build</TT>). The exact default behaviour of the
74 <TT>build</TT> command is determined by location in the source code
75 tree as defined in the project <TT>BuildFile</TT> described in
76 Section&nbsp;<A HREF="node26.html#sec:projectbuildfile">3.2.1</A>. The actions might
77 be to create a library from files ending in <TT>.cc</TT>, or build a
78 debug binary executable. Extended behaviour of the build system is
79 documented in Table&nbsp;<A HREF="node45.html#tab:gtargets">3.1</A>, indicating the additional
80 generic targets that are available for binary and library functional
81 classes. The command
82
83 <P>
84 <TT>scram build</TT>
85
86 &lt;<I>target</I>&gt;
87
88 <P>
89 can be used to invoke builds of other targets.
90
91 <P>
92 <BR><P></P>
93 <DIV ALIGN="CENTER"><A NAME="1065"></A>
94 <TABLE>
95 <CAPTION><STRONG>Table 3.1:</STRONG>
96 The list of available generic library and binary targets.</CAPTION>
97 <TR><TD> <DIV ALIGN="CENTER"> <TABLE CELLPADDING=3 BORDER="1">
98 <TR><TD ALIGN="CENTER" COLSPAN=2><I>library targets</I></TD>
99 </TR>
100 <TR><TD ALIGN="LEFT"><I>name</I></TD>
101 <TD ALIGN="LEFT"><I>description</I></TD>
102 </TR>
103 <TR><TD ALIGN="LEFT"><TT>archive</TT></TD>
104 <TD ALIGN="LEFT">optimised archive library</TD>
105 </TR>
106 <TR><TD ALIGN="LEFT"><TT>archive_debug</TT></TD>
107 <TD ALIGN="LEFT">debug archive library</TD>
108 </TR>
109 <TR><TD ALIGN="LEFT"><TT>shared</TT></TD>
110 <TD ALIGN="LEFT">optimised shared library</TD>
111 </TR>
112 <TR><TD ALIGN="LEFT"><TT>shared_debug</TT></TD>
113 <TD ALIGN="LEFT">debug shared library</TD>
114 </TR>
115 <TR><TD ALIGN="CENTER" COLSPAN=2>&nbsp;</TD>
116 </TR>
117 <TR><TD ALIGN="CENTER" COLSPAN=2><I>binary executable targets</I></TD>
118 </TR>
119 <TR><TD ALIGN="LEFT"><I>name</I></TD>
120 <TD ALIGN="LEFT"><I>description</I></TD>
121 </TR>
122 <TR><TD ALIGN="LEFT"><TT>bin</TT></TD>
123 <TD ALIGN="LEFT">a binary</TD>
124 </TR>
125 <TR><TD ALIGN="LEFT"><TT>bin_debug</TT></TD>
126 <TD ALIGN="LEFT">a debug binary</TD>
127 </TR>
128 <TR><TD ALIGN="LEFT"><TT>bin_debug_local</TT></TD>
129 <TD ALIGN="LEFT">a debug binary with debug libraries</TD>
130 </TR>
131 <TR><TD ALIGN="LEFT">&nbsp;</TD>
132 <TD ALIGN="LEFT">taken from the local area</TD>
133 </TR>
134 </TABLE>
135
136 <A NAME="tab:gtargets"></A></DIV></TD></TR>
137 </TABLE>
138 </DIV><P></P>
139 <BR>
140
141 <P>
142 The default library types are normally set using
143 &lt;<TT>libtype</TT>&gt; tags, but the above can be used to override this
144 behaviour. Each different type has a different storage directory under
145 the location set by means of the &lt;<TT>ProductStore</TT>&gt; tag: shared libraries
146 appear in this directory and debug shared libraries in a subdirectory
147 called <TT>debug</TT>. Additional subdirectories called
148 <TT>archive</TT> and <TT>archive/debug</TT> are created for
149 archive libraries and debug archive libraries respectively.
150
151 <P>
152 <HR>
153 <!--Navigation Panel-->
154 <A NAME="tex2html970"
155 HREF="node46.html">
156 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
157 SRC="file:/usr/share/latex2html/icons/next.png"></A>
158 <A NAME="tex2html964"
159 HREF="node17.html">
160 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
161 SRC="file:/usr/share/latex2html/icons/up.png"></A>
162 <A NAME="tex2html958"
163 HREF="node44.html">
164 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
165 SRC="file:/usr/share/latex2html/icons/prev.png"></A>
166 <A NAME="tex2html966"
167 HREF="node2.html">
168 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
169 SRC="file:/usr/share/latex2html/icons/contents.png"></A>
170 <A NAME="tex2html968"
171 HREF="node85.html">
172 <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
173 SRC="file:/usr/share/latex2html/icons/index.png"></A>
174 <BR>
175 <B> Next:</B> <A NAME="tex2html971"
176 HREF="node46.html">3.8 Creating SCRAM Project</A>
177 <B> Up:</B> <A NAME="tex2html965"
178 HREF="node17.html">3. Creating and Maintaining</A>
179 <B> Previous:</B> <A NAME="tex2html959"
180 HREF="node44.html">3.6.0.0.1 Adding a New</A>
181 &nbsp <B> <A NAME="tex2html967"
182 HREF="node2.html">Contents</A></B>
183 &nbsp <B> <A NAME="tex2html969"
184 HREF="node85.html">Index</A></B>
185 <!--End of Navigation Panel-->
186 <ADDRESS>
187 scram-developers@cern.ch
188 </ADDRESS>
189 </BODY>
190 </HTML>