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

Last change on this file since 88 was 87, checked in by barrand, 16 years ago
File size: 5.1 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/snova.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    <dll name="snovis">
21      <directory>../source</directory>
22
23      <cxx_include>${obuild_snovis_path}</cxx_include>
24
25      <!-- not this : -->
26
27      <cxx_include copy="cxx_include" from="Lib"/>
28      <cxx_include copy="cxx_include" from="Slash"/>
29      <cxx_include copy="cxx_include" from="AIDA"/>
30      <cxx_include copy="cxx_include" from="OnX"/> <!-- Helpers -->
31      <cxx_include copy="cxx_include" from="G4Lab"/>
32      <cxx_include copy="cxx_include" from="BatchLab"/>
33
34      <cxx_include copy="cxx_include" from="HEPVis"/>
35      <cxx_include copy="cxx_include" from="CoinGL"/>
36
37      <lib copy="lib_LibXML" from="Lib"/>
38      <lib copy="lib" from="expat"/>
39      <lib copy="lib_LibZip" from="Lib"/>
40      <lib copy="lib" from="zlib"/>
41      <lib copy="lib_LibUtils" from="Lib"/>
42
43      <!-- graphics. -->
44      <lib copy="lib_HEPVisGeometry" from="HEPVis"/>
45      <lib copy="lib_HEPVisUtils" from="HEPVis"/>
46      <lib copy="lib" from="jpeg"/>
47      <lib copy="lib" from="dvi2bitmap"/>
48      <lib copy="lib" from="freetype2"/>
49      <lib copy="lib" from="CoinGL"/>
50    </dll>
51
52    <application name="prog_snova">
53      <file>../applications/prog_snova2.cxx</file>
54
55      <!-- not this : -->
56      <cxx_include platform="UNIX" verbatim="yes">-I${snova_home}</cxx_include>
57      <cxx_include platform="UNIX" verbatim="yes">-I${snova_home}/source/GeomUtils/include</cxx_include>
58      <cxx_include platform="UNIX" verbatim="yes">-I${snova_home}/source/SNgeom2/include</cxx_include>
59      <cxx_include platform="UNIX" verbatim="yes">-I${snova_home}/source/SNvertex/include</cxx_include>
60      <cxx_include platform="UNIX" verbatim="yes">-I${bhep_home}</cxx_include>
61
62      <cxx_include copy="cxx_include" from="CLHEP"/>
63      <cxx_include copy="cxx_include" from="Geant4"/>
64      <cxx_include copy="c_include" from="HDF5"/>
65
66      <lib verbatim="yes">-L${snova_home}/Darwin -lsnova -lsnvertex -lsngeom -lgeomutils</lib>
67      <lib verbatim="yes">-L${bhep_home}/Darwin -lbhep</lib>
68
69      <lib copy="interfaces_lib" from="Geant4"/>
70
71      <lib copy="lib" from="Geant4"/>
72      <lib copy="lib" from="CLHEP"/>
73      <lib copy="lib" from="HDF5"/>
74      <lib copy="lib" from="zlib"/>
75    </application>
76
77    <application name="snovis_session">
78      <file>../applications/snovis_session.cc</file>
79
80      <!-- not this : -->
81      <cxx_include platform="UNIX" verbatim="yes">-I${snova_home}</cxx_include>
82      <cxx_include platform="UNIX" verbatim="yes">-I${snova_home}/source/GeomUtils/include</cxx_include>
83      <cxx_include platform="UNIX" verbatim="yes">-I${snova_home}/source/SNgeom2/include</cxx_include>
84      <cxx_include platform="UNIX" verbatim="yes">-I${snova_home}/source/SNvertex/include</cxx_include>
85      <cxx_include platform="UNIX" verbatim="yes">-I${bhep_home}</cxx_include>
86
87      <cxx_include copy="cxx_include" from="CLHEP"/>
88      <cxx_include copy="cxx_include" from="Geant4"/>
89      <cxx_include copy="c_include" from="HDF5"/>
90
91      <cxx_include copy="cxx_include" from="AIDA"/>
92      <cxx_include copy="cxx_include" from="G4Lab"/>
93
94      <cxx_include copy="cxx_include" from="Lib"/>
95      <cxx_include copy="cxx_include" from="Slash"/>
96
97      <lib copy="lib" from="OnX"/>
98
99      <lib verbatim="yes">-L${snova_home}/Darwin -lsnova -lsnvertex -lsngeom -lgeomutils</lib>
100      <lib verbatim="yes">-L${bhep_home}/Darwin -lbhep</lib>
101
102      <lib copy="lib" from="HDF5"/>
103
104      <lib copy="lib_G4LabUIOnX" from="G4Lab"/>
105      <lib copy="lib_G4LabCore" from="G4Lab"/>
106      <lib copy="lib" from="Geant4"/>
107      <lib copy="lib" from="CLHEP"/>
108
109      <lib copy="lib_LibXML" from="Lib"/>
110      <lib copy="lib" from="expat"/>
111      <lib copy="lib_LibZip" from="Lib"/>
112      <lib copy="lib" from="zlib"/>
113      <lib copy="lib_LibUtils" from="Lib"/>
114
115      <!-- graphics. -->
116      <lib copy="lib_HEPVisGeometry" from="HEPVis"/>
117      <lib copy="lib_HEPVisUtils" from="HEPVis"/>
118      <lib copy="lib" from="jpeg"/>
119      <lib copy="lib" from="dvi2bitmap"/>
120      <lib copy="lib" from="freetype2"/>
121      <lib copy="lib" from="CoinGL"/>
122    </application>
123
124    <setup>
125      <exec from="OnX"/>
126      <exec from="G4Lab"/>
127
128      <env name="SNOVISROOT">${obuild_snovis_path}</env>
129
130      <run_path/>
131
132      <load_library_path copy="load_library_path" from="snova"/>
133
134      <load_library_path/>
135
136      <env name="G4RADIOACTIVEDATA">${Geant4_home}/data/RadiativeDecay3.1</env>
137      <env name="G4LEVELGAMMADATA">${Geant4_home}/data/PhotonEvaporation2.0</env>
138      <env name="G4LEDATA">${Geant4_home}/data/G4EMLOW4.2</env>
139      <env name="NeutronHPCrossSections">${Geant4_home}/data/G4NDL3.10</env>
140    </setup>
141
142    <release>
143      <copy_dir>
144        <from>scripts</from>
145        <to>Resources/snovis/.</to>
146      </copy_dir>
147    </release>
148
149  </package>
150
151</obuild>
Note: See TracBrowser for help on using the repository browser.