ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/doc/html/node22.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

# User Rev Content
1 sashby 1.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.1.2.0.1 Example:</TITLE>
13     <META NAME="description" CONTENT="3.1.2.0.1 Example:">
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="previous" HREF="node21.html">
25     <LINK REL="up" HREF="node21.html">
26     <LINK REL="next" HREF="node23.html">
27     </HEAD>
28    
29     <BODY bgcolor="beige" >
30     <!--Navigation Panel-->
31     <A NAME="tex2html650"
32     HREF="node23.html">
33     <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
34     SRC="file:/usr/share/latex2html/icons/next.png"></A>
35     <A NAME="tex2html644"
36     HREF="node21.html">
37     <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
38     SRC="file:/usr/share/latex2html/icons/up.png"></A>
39     <A NAME="tex2html640"
40     HREF="node21.html">
41     <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
42     SRC="file:/usr/share/latex2html/icons/prev.png"></A>
43     <A NAME="tex2html646"
44     HREF="node2.html">
45     <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
46     SRC="file:/usr/share/latex2html/icons/contents.png"></A>
47     <A NAME="tex2html648"
48     HREF="node85.html">
49     <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
50     SRC="file:/usr/share/latex2html/icons/index.png"></A>
51     <BR>
52     <B> Next:</B> <A NAME="tex2html651"
53     HREF="node23.html">3.1.3 The ToolDoc Class</A>
54     <B> Up:</B> <A NAME="tex2html645"
55     HREF="node21.html">3.1.2 The RequirementsDoc Class</A>
56     <B> Previous:</B> <A NAME="tex2html641"
57     HREF="node21.html">3.1.2 The RequirementsDoc Class</A>
58     &nbsp <B> <A NAME="tex2html647"
59     HREF="node2.html">Contents</A></B>
60     &nbsp <B> <A NAME="tex2html649"
61     HREF="node85.html">Index</A></B>
62     <BR>
63     <BR>
64     <!--End of Navigation Panel-->
65    
66     <H4><A NAME="SECTION00412010000000000000">
67     3.1.2.0.1 <I>Example</I>:</A>
68     </H4> Here is part of the requirements file for the
69     <TT>COBRA</TT> project example used above:<A NAME="576"></A>
70     <PRE>
71     &lt;doc type=BuildSystem::Requirements version=2.0&gt;
72     &lt;baseurl="cvs://cmscvs.cern.ch/cvs_server/repositories/ToolBox?auth=\
73     pserver&amp;user=anonymous&amp;passkey=AA_:yZZ3e&amp;version=CMS_53_1"&gt;
74     &lt;include url="cvs:?module=ToolBox/CMS/Configuration/CMSconfiguration"&gt;
75     &lt;Architecture name=SunOS__5&gt;
76     &lt;select name=CC&gt;
77     &lt;/Architecture&gt;
78     &lt;Architecture name=Linux__2&gt;
79     &lt;select name=gcc&gt;
80     &lt;/Architecture&gt;
81     &lt;select name=clhep&gt;
82     &lt;select name=htl&gt;
83     &lt;select name=qt&gt;
84     &lt;/base&gt;
85     </PRE>
86     <P>
87     The base URL is set to point to a CVS repository for the
88     toolbox. The version of the toolbox to be used has the CVS
89     symbolic tag <TT>CMS_53_1</TT> according to local
90     conventions.The configuration file <TT>CMSconfiguration</TT> is
91     included using an &lt;<TT>include</TT>&gt; statement. This file
92     contains entries like these<A NAME="1840"></A>
93    
94     <P>
95     <PRE>
96     &lt;Architecture name=SunOS__5&gt;
97     &lt;require name=CC version=5.2 url="cvs:?module=ToolBox/CompilerTools/CXX/SunCC"&gt;
98     &lt;/require&gt;
99     &lt;/Architecture&gt;
100     &lt;Architecture name=Linux__2&gt;
101     &lt;require name=gcc version=2.95.2 url="cvs:?module=ToolBox/CompilerTools/CXX/gcc"&gt;
102     &lt;/require&gt;
103     &lt;/Architecture&gt;
104     &lt;require name=Qt version=3.0.1 url="cvs:?module=ToolBox/LHCxx/Qt"&gt;
105     &lt;/require&gt;
106     &lt;require name=CLHEP version=1.7.5.0 url="cvs:?module=ToolBox/LHCxx/CLHEP"&gt;
107     &lt;/require&gt;
108     &lt;require name=HTL version=1.3.2.1 url="cvs:?module=ToolBox/LHCxx/HTL"&gt;
109     &lt;/require&gt;
110     </PRE>
111     <P>
112     which are parsed directly after the file is downloaded,
113     i.e. the behaviour is exactly the same as if the
114     &lt;<TT>require</TT>&gt; statements are written in the
115     requirements file itself. Notice that the compilers are
116     enclosed within architecture specific blocks- more details
117     concerning compiler support can be found in Section&nbsp;<A HREF="node29.html#sec:compilersupport">3.2.2</A>.
118    
119     <P>
120     <BR><HR>
121     <ADDRESS>
122     scram-developers@cern.ch
123     </ADDRESS>
124     </BODY>
125     </HTML>