]> Creatis software - creaToolsTools.git/blob - Linux/scripts/CreaTools-names.sh
28109bcd68671863a6c59d846cfac20886d82946
[creaToolsTools.git] / Linux / scripts / CreaTools-names.sh
1 # ---------------------------------------------------------------------
2 #
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image 
4 #                        pour la Santé)
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
6 #
7 #  This software is governed by the CeCILL-B license under French law and 
8 #  abiding by the rules of distribution of free software. You can  use, 
9 #  modify and/ or redistribute the software under the terms of the CeCILL-B 
10 #  license as circulated by CEA, CNRS and INRIA at the following URL 
11 #  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html 
12 #  or in the file LICENSE.txt.
13 #
14 #  As a counterpart to the access to the source code and  rights to copy,
15 #  modify and redistribute granted by the license, users are provided only
16 #  with a limited warranty  and the software's author,  the holder of the
17 #  economic rights,  and the successive licensors  have only  limited
18 #  liability. 
19 #
20 #  The fact that you are presently reading this means that you have had
21 #  knowledge of the CeCILL-B license and that you accept its terms.
22 # ------------------------------------------------------------------------  
23
24
25 #!/bin/bash
26
27 #
28 # This one is here just in order not tp dupplicate the following code
29 #
30
31 #allow debugger to choose the startpoint
32 # start_point : used at debug time : start point of the script
33 # ex : if everything is OK, but bbtkGEditor, 
34 # git pull bbtkGEditor manually, and use :
35 # start_point=10
36 # in order not to 'git clone' everything, nor recompile everything.
37
38 start_point=0
39
40 scriptDir=$PWD/scripts
41
42  creasource=crea
43  bbtksource=bbtk
44  creamaracassource=creaMaracasVisu
45  creaenvironmentsource=creaEnvironment
46  creabrukersource=creaBruker
47  creaimagesource=creaImageIO
48  creacontourssource=creaContours
49  crearigidregistrationssource=creaRigidRegistration
50  bbtkgeditorsource=bbtkGEditor
51  creatoolssource=creaTools
52  creaminitoolssource=creaMiniTools
53 # libidosource=libidoNewProj 
54   
55  creaversion=v0_3_3
56  bbtkversion=v0_9_5
57  creamaracasversion=v1_0_3
58  creaenvironmentversion=v1_0_1
59  creabrukerversion=v1_0_1
60  creaimageversion=v0_2_5
61  creacontoursversion=v1_2_3
62  crearigidregistrationsversion=v1_0_1
63  bbtkgeditorversion=v1_0_0
64  creatoolsversion=v2_0_3
65  creaminitoolsversion=v1_0_0
66
67
68
69 echo "++++++++++++++++++++++++++++++++++++++++++++++++OperatingSystem " $OperatingSystem
70
71 if [ $OperatingSystem = "MacOS" ]
72 then
73   creadll=$generationdir/creatools_bin/creaBin
74 DYLD_LIBRARY_PATH=$creadll:$DYLD_LIBRARY_PATH
75   bbtkdll=$generationdir/creatools_bin/bbtkBin
76 DYLD_LIBRARY_PATH=$bbtkdll:$DYLD_LIBRARY_PATH
77   creamaracasdll=$generationdir/creatools_bin/creamaracasBin
78 DYLD_LIBRARY_PATH=$creamaracasdll:$DYLD_LIBRARY_PATH
79   creaenvironmentdll=$generationdir/creatools_bin/creaenvironmentBin
80 DYLD_LIBRARY_PATH=$creaenvironmentdll:$DYLD_LIBRARY_PATH
81   creabrukerdll=$generationdir/creatools_bin/creabrukerBin
82 DYLD_LIBRARY_PATH=$creabrukerdll:$DYLD_LIBRARY_PATH 
83   creaimagedll=$generationdir/creatools_bin/creaimageBin
84 DYLD_LIBRARY_PATH=$creaimagedll:$DYLD_LIBRARY_PATH
85   creacontourdll=$generationdir/creatools_bin/creacontoursBin
86 DYLD_LIBRARY_PATH=$creacontoursdll:$DYLD_LIBRARY_PATH
87   crearigidregistrationdll=$generationdir/creatools_bin/crearigidregistrationBin
88 DYLD_LIBRARY_PATH=$crearigidregistrationdll:$DYLD_LIBRARY_PATH
89   bbtkgeditordll=$generationdir/creatools_bin/bbtkgeditorBin
90 DYLD_LIBRARY_PATH=$bbtkgeditordll:$DYLD_LIBRARY_PATH
91   creatoolsdll=$generationdir/creatools_bin/creatoolsBin
92 DYLD_LIBRARY_PATH=$creatoolssdll:$DYLD_LIBRARY_PATH
93   creaminitoolsdll=$generationdir/creatools_bin/creaMiniToolsBin
94 DYLD_LIBRARY_PATH=$creaminitoolssdll:$DYLD_LIBRARY_PATH
95 #  crealibidodll=$generationdir/creatools_bin/libidoBin
96 #DYLD_LIBRARY_PATH=$libidodll:$DYLD_LIBRARY_PATH
97 else
98   creadll=$generationdir/creatools_bin/creaBin
99 LD_LIBRARY_PATH=$creadll:$LD_LIBRARY_PATH
100   bbtkdll=$generationdir/creatools_bin/bbtkBin
101 LD_LIBRARY_PATH=$bbtkdll:$LD_LIBRARY_PATH
102   creamaracasdll=$generationdir/creatools_bin/creamaracasBin
103 LD_LIBRARY_PATH=$creamaracasdll:$LD_LIBRARY_PATH
104   creaenvironmentdll=$generationdir/creatools_bin/creaenvironmentBin
105 LD_LIBRARY_PATH=$creaenvironmentdll:$LD_LIBRARY_PATH
106   creabrukerdll=$generationdir/creatools_bin/creabrukerBin
107 LD_LIBRARY_PATH=$creabrukerdll:$LD_LIBRARY_PATH 
108   creaimagedll=$generationdir/creatools_bin/creaimageBin
109 LD_LIBRARY_PATH=$creaimagedll:$LD_LIBRARY_PATH
110   creacontourdll=$generationdir/creatools_bin/creacontoursBin
111 LD_LIBRARY_PATH=$creacontoursdll:$LD_LIBRARY_PATH
112   crearigidregistrationdll=$generationdir/creatools_bin/crearigidregistrationBin
113 LD_LIBRARY_PATH=$crearigidregistrationdll:$LD_LIBRARY_PATH
114   bbtkgeditordll=$generationdir/creatools_bin/bbtkgeditorBin
115 LD_LIBRARY_PATH=$bbtkgeditordll:$LD_LIBRARY_PATH
116   creatoolsdll=$generationdir/creatools_bin/creatoolsBin
117 LD_LIBRARY_PATH=$creatoolssdll:$LD_LIBRARY_PATH
118   creaminitoolsdll=$generationdir/creatools_bin/creaMiniToolsBin
119 LD_LIBRARY_PATH=$creaminitoolssdll:$LD_LIBRARY_PATH
120 #  crealibidodll=$generationdir/creatools_bin/libidoBin
121 #LD_LIBRARY_PATH=$libidodll:$LD_LIBRARY_PATH
122 fi