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.4 Using External Libraries</TITLE>
|
13 |
<META NAME="description" CONTENT="3.4 Using External Libraries">
|
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="node38.html">
|
25 |
<LINK REL="previous" HREF="node30.html">
|
26 |
<LINK REL="up" HREF="node17.html">
|
27 |
<LINK REL="next" HREF="node35.html">
|
28 |
</HEAD>
|
29 |
|
30 |
<BODY bgcolor="beige" >
|
31 |
<!--Navigation Panel-->
|
32 |
<A NAME="tex2html818"
|
33 |
HREF="node35.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="tex2html812"
|
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="tex2html806"
|
41 |
HREF="node33.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="tex2html814"
|
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="tex2html816"
|
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="tex2html819"
|
54 |
HREF="node35.html">3.4.0.0.1 Example 1:</A>
|
55 |
<B> Up:</B> <A NAME="tex2html813"
|
56 |
HREF="node17.html">3. Creating and Maintaining</A>
|
57 |
<B> Previous:</B> <A NAME="tex2html807"
|
58 |
HREF="node33.html">3.3.3 Package Applications</A>
|
59 |
  <B> <A NAME="tex2html815"
|
60 |
HREF="node2.html">Contents</A></B>
|
61 |
  <B> <A NAME="tex2html817"
|
62 |
HREF="node85.html">Index</A></B>
|
63 |
<BR>
|
64 |
<BR>
|
65 |
<!--End of Navigation Panel-->
|
66 |
|
67 |
<H1><A NAME="SECTION00440000000000000000"></A><A NAME="sec:usingexternallibs"></A><A NAME="914"></A>
|
68 |
<BR>
|
69 |
3.4 Using External Libraries
|
70 |
</H1>
|
71 |
A dependency on an external product is satisfied using the statement
|
72 |
|
73 |
<P>
|
74 |
|
75 |
<UL>
|
76 |
<<TT>external</TT> ref=<I>name</I> [use=<I>subsystem</I>]>
|
77 |
</LI>
|
78 |
</UL><A NAME="1863"></A>
|
79 |
in a <TT>BuildFile</TT>. The option <TT>use=</TT>...can be
|
80 |
specified where the <<TT>export</TT>> interface has been defined
|
81 |
in another <SMALL>SCRAM</SMALL>-managed project, i.e. it allows you to choose
|
82 |
subsets of libraries from another project in the same way as if you
|
83 |
had used <<TT>use</TT> name=...> tag in you local project. Note
|
84 |
that if the used interface itself declares an external using the
|
85 |
<<TT>external</TT>> tag then the tool referred to must exist in
|
86 |
the local project tool configuration (and be visible in the list of
|
87 |
tools shown by <TT>scram tool list</TT>).
|
88 |
|
89 |
<P>
|
90 |
Here are two examples of how the tag might be used.
|
91 |
<A NAME="930"></A>
|
92 |
<BR><HR>
|
93 |
<!--Table of Child-Links-->
|
94 |
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
|
95 |
|
96 |
<UL>
|
97 |
<LI><UL>
|
98 |
<LI><UL>
|
99 |
<LI><A NAME="tex2html820"
|
100 |
HREF="node35.html">3.4.0.0.1 <I>Example 1</I>:</A>
|
101 |
<LI><A NAME="tex2html821"
|
102 |
HREF="node36.html">3.4.0.0.2 <I>Example 2</I>:</A>
|
103 |
</UL>
|
104 |
</UL>
|
105 |
<BR>
|
106 |
<LI><A NAME="tex2html822"
|
107 |
HREF="node37.html">3.4.1 Forcing Library Order</A>
|
108 |
</UL>
|
109 |
<!--End of Table of Child-Links-->
|
110 |
<BR><HR>
|
111 |
<ADDRESS>
|
112 |
scram-developers@cern.ch
|
113 |
</ADDRESS>
|
114 |
</BODY>
|
115 |
</HTML>
|