| 1 | <obuild>
|
|---|
| 2 |
|
|---|
| 3 | <package name="snovis" version="v1r1">
|
|---|
| 4 |
|
|---|
| 5 | <repository>svn.lal.in2p3.fr/nemo/packages</repository>
|
|---|
| 6 |
|
|---|
| 7 | <!-- not this : -->
|
|---|
| 8 |
|
|---|
| 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 |
|
|---|
| 15 | <reference package="snova" version="v2r0p0" file="obuild/export.obuild"/>
|
|---|
| 16 |
|
|---|
| 17 | <!-- this : -->
|
|---|
| 18 |
|
|---|
| 19 | <!-- G4Lab embedding -->
|
|---|
| 20 | <reference package="snovis" version="v1r1" file="obuild/G4Lab.obuild"/>
|
|---|
| 21 |
|
|---|
| 22 | <dll name="snovis">
|
|---|
| 23 | <file>../source/Callbacks.cxx</file>
|
|---|
| 24 | <file>../source/InventorCallbacks.cxx</file>
|
|---|
| 25 | <file>../source/Layouts.cxx</file>
|
|---|
| 26 |
|
|---|
| 27 | <cxx_include>${obuild_snovis_path}</cxx_include>
|
|---|
| 28 | <cxx_include>${obuild_snovis_path}/source</cxx_include> <!-- G4Lab -->
|
|---|
| 29 |
|
|---|
| 30 | <!-- not this : -->
|
|---|
| 31 | <cxx_include copy="cxx_include" from="CLHEP"/>
|
|---|
| 32 | <cxx_include copy="cxx_include" from="Geant4"/>
|
|---|
| 33 |
|
|---|
| 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"/>
|
|---|
| 37 |
|
|---|
| 38 | <cxx_include copy="c_include" from="OpenGL"/>
|
|---|
| 39 | <cxx_options copy="c_options" from="OpenGL"/>
|
|---|
| 40 | <cxx_macro copy="c_macro" from="OpenGL"/>
|
|---|
| 41 |
|
|---|
| 42 | <lib copy="lib_G4physicslists" from="Geant4"/> <!-- For N04 -->
|
|---|
| 43 | <lib copy="lib" from="Geant4"/>
|
|---|
| 44 | <lib copy="lib" from="CLHEP"/>
|
|---|
| 45 | <lib copy="OSC_Inventor_linkopts" from="OpenScientist"/>
|
|---|
| 46 | <lib copy="OSC_OnX_linkopts" from="OpenScientist"/>
|
|---|
| 47 | <lib copy="lib" from="OpenGL"/>
|
|---|
| 48 | </dll>
|
|---|
| 49 |
|
|---|
| 50 | <application name="prog_snovis">
|
|---|
| 51 | <file>../applications/snovis_session.cc</file>
|
|---|
| 52 |
|
|---|
| 53 | <!-- not this : -->
|
|---|
| 54 | <cxx_include>${obuild_snovis_path}/source</cxx_include> <!-- G4Lab -->
|
|---|
| 55 |
|
|---|
| 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"/>
|
|---|
| 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 | <cxx_include copy="OSC_OnX_incs" from="OpenScientist"/>
|
|---|
| 67 |
|
|---|
| 68 | <lib>G4LabUIOnX</lib>
|
|---|
| 69 | <lib>G4LabCore</lib>
|
|---|
| 70 |
|
|---|
| 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"/>
|
|---|
| 76 |
|
|---|
| 77 | <lib copy="lib" from="HDF5"/>
|
|---|
| 78 | <lib copy="lib" from="Geant4"/>
|
|---|
| 79 | <lib copy="lib" from="CLHEP"/>
|
|---|
| 80 |
|
|---|
| 81 | <lib copy="OSC_OnX_linkopts" from="OpenScientist"/>
|
|---|
| 82 | <lib copy="OSC_Inventor_linkopts" from="OpenScientist"/>
|
|---|
| 83 | <lib copy="lib" from="OpenGL"/>
|
|---|
| 84 |
|
|---|
| 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>
|
|---|
| 89 | </application>
|
|---|
| 90 |
|
|---|
| 91 | <reference package="snovis" version="v1r1" file="obuild/darwin_app.obuild"/>
|
|---|
| 92 |
|
|---|
| 93 | <setup>
|
|---|
| 94 | <exec from="snova"/>
|
|---|
| 95 |
|
|---|
| 96 | <env name="SNOVISROOT">${obuild_snovis_path}</env>
|
|---|
| 97 |
|
|---|
| 98 | <run_path/>
|
|---|
| 99 |
|
|---|
| 100 | <load_library_path copy="load_library_path" from="HDF5"/>
|
|---|
| 101 | <load_library_path copy="load_library_path" from="CLHEP"/>
|
|---|
| 102 | <load_library_path copy="load_library_path" from="Geant4"/>
|
|---|
| 103 | <load_library_path copy="load_library_path" from="OpenScientist"/>
|
|---|
| 104 |
|
|---|
| 105 | <env name="ONXROOT">${OSC_home}/Resources/OnX</env>
|
|---|
| 106 | <env name="ONXLABROOT">${OSC_home}/Resources/OnXLab</env>
|
|---|
| 107 |
|
|---|
| 108 | <env name="G4LABROOT">${obuild_snovis_path}/Resources/G4Lab</env>
|
|---|
| 109 |
|
|---|
| 110 | <load_library_path/>
|
|---|
| 111 | </setup>
|
|---|
| 112 |
|
|---|
| 113 | <release>
|
|---|
| 114 | <copy_dir>
|
|---|
| 115 | <from>scripts</from>
|
|---|
| 116 | <to>Resources/snovis/.</to>
|
|---|
| 117 | </copy_dir>
|
|---|
| 118 |
|
|---|
| 119 | <copy_dir>
|
|---|
| 120 | <from>Resources/G4Lab</from>
|
|---|
| 121 | <to>Resources/.</to>
|
|---|
| 122 | </copy_dir>
|
|---|
| 123 |
|
|---|
| 124 | <copy_dir platform="Darwin">
|
|---|
| 125 | <from>${@@dir_bin_variable@@}/prog_snovis.app</from>
|
|---|
| 126 | <to>../../.</to>
|
|---|
| 127 | </copy_dir>
|
|---|
| 128 |
|
|---|
| 129 | </release>
|
|---|
| 130 |
|
|---|
| 131 | </package>
|
|---|
| 132 |
|
|---|
| 133 | </obuild>
|
|---|