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.2.1.0.1 ClassPath Example:</TITLE>
|
13 |
|
|
<META NAME="description" CONTENT="3.2.1.0.1 ClassPath 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="next" HREF="node28.html">
|
25 |
|
|
<LINK REL="previous" HREF="node26.html">
|
26 |
|
|
<LINK REL="up" HREF="node26.html">
|
27 |
|
|
<LINK REL="next" HREF="node28.html">
|
28 |
|
|
</HEAD>
|
29 |
|
|
|
30 |
|
|
<BODY bgcolor="beige" >
|
31 |
|
|
<!--Navigation Panel-->
|
32 |
|
|
<A NAME="tex2html723"
|
33 |
|
|
HREF="node28.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="tex2html717"
|
37 |
|
|
HREF="node26.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="tex2html711"
|
41 |
|
|
HREF="node26.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="tex2html719"
|
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="tex2html721"
|
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="tex2html724"
|
54 |
|
|
HREF="node28.html">3.2.1.0.2 ProductStore Example:</A>
|
55 |
|
|
<B> Up:</B> <A NAME="tex2html718"
|
56 |
|
|
HREF="node26.html">3.2.1 The Project BuildFile</A>
|
57 |
|
|
<B> Previous:</B> <A NAME="tex2html712"
|
58 |
|
|
HREF="node26.html">3.2.1 The Project BuildFile</A>
|
59 |
|
|
  <B> <A NAME="tex2html720"
|
60 |
|
|
HREF="node2.html">Contents</A></B>
|
61 |
|
|
  <B> <A NAME="tex2html722"
|
62 |
|
|
HREF="node85.html">Index</A></B>
|
63 |
|
|
<BR>
|
64 |
|
|
<BR>
|
65 |
|
|
<!--End of Navigation Panel-->
|
66 |
|
|
|
67 |
|
|
<H4><A NAME="SECTION00421010000000000000">
|
68 |
|
|
3.2.1.0.1 <I>ClassPath Example</I>:</A>
|
69 |
|
|
</H4> Following the recommended project
|
70 |
|
|
structure conventions, here is an
|
71 |
|
|
example of <<TT>ClassPath</TT>> settings for a project:
|
72 |
|
|
<A NAME="1854"></A>
|
73 |
|
|
<PRE>
|
74 |
|
|
<ClassPath path=+Project/+SubSystem/+Package/src+library>
|
75 |
|
|
<ClassPath path=+Project/+SubSystem/+Package/test+UnitTest>
|
76 |
|
|
<ClassPath path=+Project/+SubSystem/+Package/application+binaryApp>
|
77 |
|
|
</PRE> <A NAME="1856"></A>
|
78 |
|
|
These settings will associate the top-level <TT>src</TT>
|
79 |
|
|
directory with <TT>Project_makefile.mk</TT> and any directory in the next
|
80 |
|
|
level with the makefile <TT>SubSystem_makefile.mk</TT>.
|
81 |
|
|
The level below that will be associated with <TT>Package_makefile.mk</TT>.
|
82 |
|
|
The last elements have a pattern-matching string before the <TT>+</TT>
|
83 |
|
|
sign: only directories matching the names <TT>src</TT>,
|
84 |
|
|
<TT>test</TT> and <TT>application</TT> at the third level below
|
85 |
|
|
the top-level <TT>src</TT> directory will be mapped to the
|
86 |
|
|
makefiles <TT>library_makefile.mk</TT>,
|
87 |
|
|
<TT>UnitTest_makefile.mk</TT> and
|
88 |
|
|
<TT>binaryApp_makefile.mk</TT> respectively. Thus, any
|
89 |
|
|
source files in a directory <TT>src</TT> at package-level will
|
90 |
|
|
source the makefile <TT>library_makefile.mk</TT> for build
|
91 |
|
|
rules to build a library. Likewise, binary applications will be
|
92 |
|
|
built from sources located in any directory called
|
93 |
|
|
<TT>application</TT> using a makefile
|
94 |
|
|
<TT>binaryApp_makefile.mk</TT>.
|
95 |
|
|
|
96 |
|
|
<P>
|
97 |
|
|
Any locations that do not have a corresponding
|
98 |
|
|
<<TT>ClassPath</TT>> entry will be mapped to a default
|
99 |
|
|
makefile (<TT>DEFAULT_makefile.mk</TT>) which must exist
|
100 |
|
|
otherwise build operations may fail.
|
101 |
|
|
Note that where there are multiple <<TT>ClassPath</TT>> tags
|
102 |
|
|
defined, it is always the last tag that matches the current
|
103 |
|
|
location that will be used.
|
104 |
|
|
|
105 |
|
|
<P>
|
106 |
|
|
Another tag can be used to specify directories for build
|
107 |
|
|
products or files and can be added to the project <TT>BuildFile</TT>-
|
108 |
|
|
|
109 |
|
|
<UL>
|
110 |
|
|
<<TT>ProductStore</TT> name=<I>name</I> [type=<I>type</I>]>
|
111 |
|
|
</LI>
|
112 |
|
|
</UL>
|
113 |
|
|
<P>
|
114 |
|
|
The name <I>name</I> is the name of the directory to be created
|
115 |
|
|
and the option <I>type</I> can be set to <TT>arch</TT> so that an
|
116 |
|
|
architecture-dependent subdirectory will be added under directory
|
117 |
|
|
<I>name</I> for platform-specific products.
|
118 |
|
|
<HR>
|
119 |
|
|
<!--Navigation Panel-->
|
120 |
|
|
<A NAME="tex2html723"
|
121 |
|
|
HREF="node28.html">
|
122 |
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
|
123 |
|
|
SRC="file:/usr/share/latex2html/icons/next.png"></A>
|
124 |
|
|
<A NAME="tex2html717"
|
125 |
|
|
HREF="node26.html">
|
126 |
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
|
127 |
|
|
SRC="file:/usr/share/latex2html/icons/up.png"></A>
|
128 |
|
|
<A NAME="tex2html711"
|
129 |
|
|
HREF="node26.html">
|
130 |
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
|
131 |
|
|
SRC="file:/usr/share/latex2html/icons/prev.png"></A>
|
132 |
|
|
<A NAME="tex2html719"
|
133 |
|
|
HREF="node2.html">
|
134 |
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
|
135 |
|
|
SRC="file:/usr/share/latex2html/icons/contents.png"></A>
|
136 |
|
|
<A NAME="tex2html721"
|
137 |
|
|
HREF="node85.html">
|
138 |
|
|
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
|
139 |
|
|
SRC="file:/usr/share/latex2html/icons/index.png"></A>
|
140 |
|
|
<BR>
|
141 |
|
|
<B> Next:</B> <A NAME="tex2html724"
|
142 |
|
|
HREF="node28.html">3.2.1.0.2 ProductStore Example:</A>
|
143 |
|
|
<B> Up:</B> <A NAME="tex2html718"
|
144 |
|
|
HREF="node26.html">3.2.1 The Project BuildFile</A>
|
145 |
|
|
<B> Previous:</B> <A NAME="tex2html712"
|
146 |
|
|
HREF="node26.html">3.2.1 The Project BuildFile</A>
|
147 |
|
|
  <B> <A NAME="tex2html720"
|
148 |
|
|
HREF="node2.html">Contents</A></B>
|
149 |
|
|
  <B> <A NAME="tex2html722"
|
150 |
|
|
HREF="node85.html">Index</A></B>
|
151 |
|
|
<!--End of Navigation Panel-->
|
152 |
|
|
<ADDRESS>
|
153 |
|
|
scram-developers@cern.ch
|
154 |
|
|
</ADDRESS>
|
155 |
|
|
</BODY>
|
156 |
|
|
</HTML>
|