source: snovis/trunk/obuild/this.obuild@ 251

Last change on this file since 251 was 243, checked in by barrand, 19 years ago
File size: 4.2 KB
RevLine 
[6]1<obuild>
2
[101]3 <package name="snovis" version="v1r1">
[6]4
5 <repository>svn.lal.in2p3.fr/nemo/packages</repository>
6
7 <!-- not this : -->
8
[243]9 <reference package="foreign" version="v1r*" file="CLHEP.obuild"/>
10 <reference package="foreign" version="v1r*" file="Geant4.obuild"/>
11 <reference package="foreign" version="v1r*" file="OpenGL.obuild"/>
12 <reference package="foreign" version="v1r*" file="HDF5.obuild"/>
13 <reference package="foreign" version="v1r*" file="OpenScientist.obuild"/>
14
[137]15 <reference package="snova" version="v2r0p0" file="obuild/export.obuild"/>
[6]16
17 <!-- this : -->
18
[243]19 <!-- G4Lab embedding -->
20 <reference package="snovis" version="v1r1" file="obuild/G4Lab.obuild"/>
21
[6]22 <dll name="snovis">
[243]23 <file>../source/Callbacks.cxx</file>
24 <file>../source/InventorCallbacks.cxx</file>
25 <file>../source/Layouts.cxx</file>
[6]26
27 <cxx_include>${obuild_snovis_path}</cxx_include>
[243]28 <cxx_include>${obuild_snovis_path}/source</cxx_include> <!-- G4Lab -->
[6]29
30 <!-- not this : -->
31 <cxx_include copy="cxx_include" from="CLHEP"/>
32 <cxx_include copy="cxx_include" from="Geant4"/>
33
[243]34 <cxx_include copy="OSC_AIDA_incs" from="OpenScientist"/>
35 <cxx_include copy="OSC_OnX_incs" from="OpenScientist"/>
36 <cxx_include copy="OSC_Inventor_incs" from="OpenScientist"/>
[6]37
[243]38 <cxx_include copy="c_include" from="OpenGL"/>
39 <cxx_options copy="c_options" from="OpenGL"/>
40 <cxx_macro copy="c_macro" from="OpenGL"/>
[6]41
[243]42 <lib copy="lib_G4physicslists" from="Geant4"/> <!-- For N04 -->
[6]43 <lib copy="lib" from="Geant4"/>
44 <lib copy="lib" from="CLHEP"/>
[243]45 <lib copy="OSC_Inventor_linkopts" from="OpenScientist"/>
46 <lib copy="OSC_OnX_linkopts" from="OpenScientist"/>
47 <lib copy="lib" from="OpenGL"/>
48 </dll>
[6]49
[243]50 <application name="prog_snovis">
[6]51 <file>../applications/snovis_session.cc</file>
52
53 <!-- not this : -->
[243]54 <cxx_include>${obuild_snovis_path}/source</cxx_include> <!-- G4Lab -->
55
[137]56 <cxx_include copy="cxx_include" from="snova"/>
57 <cxx_include copy="cxx_include_geomutils" from="snova"/>
58 <cxx_include copy="cxx_include_snvertex" from="snova"/>
59 <cxx_include copy="cxx_include_sngeom" from="snova"/>
60 <cxx_include copy="cxx_include" from="bhep"/>
[6]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
[243]66 <cxx_include copy="OSC_OnX_incs" from="OpenScientist"/>
[6]67
[243]68 <lib>G4LabUIOnX</lib>
69 <lib>G4LabCore</lib>
[6]70
[137]71 <lib copy="lib" from="snova"/>
72 <lib copy="lib_snvertex" from="snova"/>
73 <lib copy="lib_sngeom" from="snova"/>
74 <lib copy="lib_geomutils" from="snova"/>
75 <lib copy="lib" from="bhep"/>
[6]76
77 <lib copy="lib" from="HDF5"/>
78 <lib copy="lib" from="Geant4"/>
79 <lib copy="lib" from="CLHEP"/>
80
[243]81 <lib copy="OSC_OnX_linkopts" from="OpenScientist"/>
82 <lib copy="OSC_Inventor_linkopts" from="OpenScientist"/>
83 <lib copy="lib" from="OpenGL"/>
[6]84
[243]85 <!-- Darwin : -bind_at_load -multiply_defined suppress
86 suppress the warnings. But do we want
87 the -bind_at_load that ? -->
88 <cxx_linker_options platform="Darwin">-bind_at_load -multiply_defined suppress</cxx_linker_options>
[6]89 </application>
90
[243]91<!--
[134]92 <reference package="snovis" version="v1r1" file="obuild/darwin_app.obuild"/>
[243]93-->
[134]94
[6]95 <setup>
[188]96 <exec from="snova"/>
97
[6]98 <env name="SNOVISROOT">${obuild_snovis_path}</env>
99
100 <run_path/>
101
[243]102 <load_library_path copy="load_library_path" from="HDF5"/>
103 <load_library_path copy="load_library_path" from="CLHEP"/>
104 <load_library_path copy="load_library_path" from="Geant4"/>
105 <load_library_path copy="load_library_path" from="OpenScientist"/>
106
107 <env name="ONXROOT">${OSC_home}/Resources/OnX</env>
108 <env name="ONXLABROOT">${OSC_home}/Resources/OnXLab</env>
109
110 <env name="G4LABROOT">${obuild_snovis_path}/Resources/G4Lab</env>
111
[6]112 <load_library_path/>
113 </setup>
114
115 <release>
116 <copy_dir>
117 <from>scripts</from>
118 <to>Resources/snovis/.</to>
119 </copy_dir>
[152]120
121 <copy_dir platform="Darwin">
122 <from>Darwin_obuild/snovis_session.app</from>
[215]123 <to>../../.</to>
[152]124 </copy_dir>
125
[6]126 </release>
127
128 </package>
129
130</obuild>
Note: See TracBrowser for help on using the repository browser.