[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 | |
---|
[134] | 91 | <reference package="snovis" version="v1r1" file="obuild/darwin_app.obuild"/> |
---|
| 92 | |
---|
[6] | 93 | <setup> |
---|
[188] | 94 | <exec from="snova"/> |
---|
| 95 | |
---|
[6] | 96 | <env name="SNOVISROOT">${obuild_snovis_path}</env> |
---|
| 97 | |
---|
| 98 | <run_path/> |
---|
| 99 | |
---|
[243] | 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 | |
---|
[6] | 110 | <load_library_path/> |
---|
| 111 | </setup> |
---|
| 112 | |
---|
| 113 | <release> |
---|
| 114 | <copy_dir> |
---|
| 115 | <from>scripts</from> |
---|
| 116 | <to>Resources/snovis/.</to> |
---|
| 117 | </copy_dir> |
---|
[152] | 118 | |
---|
[276] | 119 | <copy_dir> |
---|
| 120 | <from>Resources/G4Lab</from> |
---|
| 121 | <to>Resources/.</to> |
---|
| 122 | </copy_dir> |
---|
| 123 | |
---|
[152] | 124 | <copy_dir platform="Darwin"> |
---|
[279] | 125 | <from>${@@dir_bin_variable@@}/prog_snovis.app</from> |
---|
[215] | 126 | <to>../../.</to> |
---|
[152] | 127 | </copy_dir> |
---|
| 128 | |
---|
[6] | 129 | </release> |
---|
| 130 | |
---|
| 131 | </package> |
---|
| 132 | |
---|
| 133 | </obuild> |
---|