source: snovis/head/obuild/this.obuild @ 86

Last change on this file since 86 was 6, checked in by barrand, 16 years ago
File size: 5.8 KB
Line 
1<obuild>
2
3  <package name="snovis" version="v1r0">
4
5    <repository>svn.lal.in2p3.fr/nemo/packages</repository>
6
7    <!-- not this : -->
8
9    <reference package="snovis" version="v1r*" file="obuild/sn.obuild"/>
10
11    <reference package="G4Lab" version="v8r*" file="obuild/export.obuild"/>
12 
13    <use name="HDF5" version="v1r*">
14      <c_include>include</c_include>
15      <lib>osc_HDF5</lib>
16    </use>
17
18    <!-- this : -->
19
20    <library name="snova">
21
22      <files>$SNOVA_ROOT/base/*.cc</files>
23      <files>$SNOVA_ROOT/vertex/*.cc</files>
24      <files>$SNOVA_ROOT/geom/*.cc</files>
25      <files>$SNOVA_ROOT/physics/*.cc</files>
26
27      <cxx_include platform="UNIX" verbatim="yes">-I${SNOVA_ROOT}</cxx_include>
28      <cxx_include platform="UNIX" verbatim="yes">-I${SNGEOM2_ROOT}/include</cxx_include>
29      <cxx_include platform="UNIX" verbatim="yes">-I${GEOMUTILS_ROOT}/include</cxx_include>
30      <cxx_include platform="Darwin" verbatim="yes">-I${BHEP_ROOT}/Darwin/include</cxx_include>
31
32      <!-- not this : -->
33      <cxx_include copy="cxx_include" from="CLHEP"/>
34      <cxx_include copy="cxx_include" from="Geant4"/>
35      <cxx_include copy="c_include" from="HDF5"/>
36    </library>
37
38    <dll name="snovis">
39      <directory>../source</directory>
40
41      <cxx_include>${obuild_snovis_path}</cxx_include>
42
43      <!-- not this : -->
44
45      <cxx_include copy="cxx_include" from="Lib"/>
46      <cxx_include copy="cxx_include" from="Slash"/>
47      <cxx_include copy="cxx_include" from="AIDA"/>
48      <cxx_include copy="cxx_include" from="OnX"/> <!-- Helpers -->
49      <cxx_include copy="cxx_include" from="G4Lab"/>
50      <cxx_include copy="cxx_include" from="BatchLab"/>
51
52      <cxx_include copy="cxx_include" from="HEPVis"/>
53      <cxx_include copy="cxx_include" from="CoinGL"/>
54
55      <lib copy="lib_LibXML" from="Lib"/>
56      <lib copy="lib" from="expat"/>
57      <lib copy="lib_LibZip" from="Lib"/>
58      <lib copy="lib" from="zlib"/>
59      <lib copy="lib_LibUtils" from="Lib"/>
60
61      <!-- graphics. -->
62      <lib copy="lib_HEPVisGeometry" from="HEPVis"/>
63      <lib copy="lib_HEPVisUtils" from="HEPVis"/>
64      <lib copy="lib" from="jpeg"/>
65      <lib copy="lib" from="dvi2bitmap"/>
66      <lib copy="lib" from="freetype2"/>
67      <lib copy="lib" from="CoinGL"/>
68    </dll>
69
70    <application name="prog_snova">
71      <file>../applications/prog_snova.cc</file>
72
73      <!-- not this : -->
74      <cxx_include platform="UNIX" verbatim="yes">-I${SNOVA_ROOT}</cxx_include>
75      <cxx_include platform="UNIX" verbatim="yes">-I${SNGEOM2_ROOT}/include</cxx_include>
76      <cxx_include platform="UNIX" verbatim="yes">-I${GEOMUTILS_ROOT}/include</cxx_include>
77      <cxx_include platform="Darwin" verbatim="yes">-I${BHEP_ROOT}/Darwin/include</cxx_include>
78
79      <cxx_include copy="cxx_include" from="CLHEP"/>
80      <cxx_include copy="cxx_include" from="Geant4"/>
81      <cxx_include copy="c_include" from="HDF5"/>
82
83      <lib>snova</lib>
84      <lib verbatim="yes">-L${SNGEOM2_ROOT}/Darwin-i386/lib -lsngeom</lib>
85      <lib verbatim="yes">-L${GEOMUTILS_ROOT}/Darwin-i386/lib -lgeomutils</lib>
86      <lib verbatim="yes">-L${BHEP_ROOT}/Darwin/lib -lbhep</lib>
87
88      <lib copy="interfaces_lib" from="Geant4"/>
89
90      <lib copy="lib" from="Geant4"/>
91      <lib copy="lib" from="CLHEP"/>
92      <lib copy="lib" from="HDF5"/>
93      <lib copy="lib" from="zlib"/>
94    </application>
95
96    <application name="snovis_session">
97      <file>../applications/snovis_session.cc</file>
98
99      <!-- not this : -->
100      <cxx_include platform="UNIX" verbatim="yes">-I${SNOVA_ROOT}</cxx_include>
101      <cxx_include platform="UNIX" verbatim="yes">-I${SNGEOM2_ROOT}/include</cxx_include>
102      <cxx_include platform="UNIX" verbatim="yes">-I${GEOMUTILS_ROOT}/include</cxx_include>
103      <cxx_include platform="Darwin" verbatim="yes">-I${BHEP_ROOT}/Darwin/include</cxx_include>
104
105      <cxx_include copy="cxx_include" from="CLHEP"/>
106      <cxx_include copy="cxx_include" from="Geant4"/>
107      <cxx_include copy="c_include" from="HDF5"/>
108
109      <cxx_include copy="cxx_include" from="AIDA"/>
110      <cxx_include copy="cxx_include" from="G4Lab"/>
111
112      <cxx_include copy="cxx_include" from="Lib"/>
113      <cxx_include copy="cxx_include" from="Slash"/>
114
115      <lib copy="lib" from="OnX"/>
116
117      <lib>snova</lib>
118      <lib verbatim="yes">-L${SNGEOM2_ROOT}/Darwin-i386/lib -lsngeom</lib>
119      <lib verbatim="yes">-L${GEOMUTILS_ROOT}/Darwin-i386/lib -lgeomutils</lib>
120      <lib verbatim="yes">-L${BHEP_ROOT}/Darwin/lib -lbhep</lib>
121
122      <lib copy="lib" from="HDF5"/>
123
124      <lib copy="lib_G4LabUIOnX" from="G4Lab"/>
125      <lib copy="lib_G4LabCore" from="G4Lab"/>
126      <lib copy="lib" from="Geant4"/>
127      <lib copy="lib" from="CLHEP"/>
128
129      <lib copy="lib_LibXML" from="Lib"/>
130      <lib copy="lib" from="expat"/>
131      <lib copy="lib_LibZip" from="Lib"/>
132      <lib copy="lib" from="zlib"/>
133      <lib copy="lib_LibUtils" from="Lib"/>
134
135      <!-- graphics. -->
136      <lib copy="lib_HEPVisGeometry" from="HEPVis"/>
137      <lib copy="lib_HEPVisUtils" from="HEPVis"/>
138      <lib copy="lib" from="jpeg"/>
139      <lib copy="lib" from="dvi2bitmap"/>
140      <lib copy="lib" from="freetype2"/>
141      <lib copy="lib" from="CoinGL"/>
142    </application>
143
144    <setup>
145      <exec from="OnX"/>
146      <exec from="G4Lab"/>
147
148      <env name="SNOVISROOT">${obuild_snovis_path}</env>
149
150      <run_path/>
151
152      <load_library_path copy="load_library_path" from="sn"/>
153
154      <load_library_path/>
155
156      <env name="G4RADIOACTIVEDATA">${Geant4_home}/data/RadiativeDecay3.1</env>
157      <env name="G4LEVELGAMMADATA">${Geant4_home}/data/PhotonEvaporation2.0</env>
158      <env name="G4LEDATA">${Geant4_home}/data/G4EMLOW4.2</env>
159      <env name="NeutronHPCrossSections">${Geant4_home}/data/G4NDL3.10</env>
160    </setup>
161
162    <release>
163      <copy_dir>
164        <from>scripts</from>
165        <to>Resources/snovis/.</to>
166      </copy_dir>
167    </release>
168
169  </package>
170
171</obuild>
Note: See TracBrowser for help on using the repository browser.