]> Creatis software - creaToolsTools.git/blob - Linux/scripts/CreaTools-names.sh
2300 creaToolsTools Bug New Normal Instruction for HTML and GIT instalation
[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  creatoolstoolssource=creaToolsTools
54 # libidosource=libidoNewProj 
55   
56  creaversion=v0_3_3
57  bbtkversion=v0_9_5
58  creamaracasversion=v1_0_3
59  creaenvironmentversion=v1_0_1
60  creabrukerversion=v1_0_1
61  creaimageversion=v0_2_5
62  creacontoursversion=v1_2_3
63  crearigidregistrationsversion=v1_0_1
64  bbtkgeditorversion=v1_0_0
65  creatoolsversion=v2_0_3
66  creaminitoolsversion=v1_0_0
67  creatoolstoolsversion=v1_0_1
68
69
70
71 echo "++++++++++++++++++++++++++++++++++++++++++++++++OperatingSystem " $OperatingSystem
72
73 if [ $OperatingSystem = "MacOS" ]
74 then
75   creadll=$generationdir/creatools_bin/creaBin
76 DYLD_LIBRARY_PATH=$creadll:$DYLD_LIBRARY_PATH
77   bbtkdll=$generationdir/creatools_bin/bbtkBin
78 DYLD_LIBRARY_PATH=$bbtkdll:$DYLD_LIBRARY_PATH
79   creamaracasdll=$generationdir/creatools_bin/creamaracasBin
80 DYLD_LIBRARY_PATH=$creamaracasdll:$DYLD_LIBRARY_PATH
81   creaenvironmentdll=$generationdir/creatools_bin/creaenvironmentBin
82 DYLD_LIBRARY_PATH=$creaenvironmentdll:$DYLD_LIBRARY_PATH
83   creabrukerdll=$generationdir/creatools_bin/creabrukerBin
84 DYLD_LIBRARY_PATH=$creabrukerdll:$DYLD_LIBRARY_PATH 
85   creaimagedll=$generationdir/creatools_bin/creaimageBin
86 DYLD_LIBRARY_PATH=$creaimagedll:$DYLD_LIBRARY_PATH
87   creacontourdll=$generationdir/creatools_bin/creacontoursBin
88 DYLD_LIBRARY_PATH=$creacontoursdll:$DYLD_LIBRARY_PATH
89   crearigidregistrationdll=$generationdir/creatools_bin/crearigidregistrationBin
90 DYLD_LIBRARY_PATH=$crearigidregistrationdll:$DYLD_LIBRARY_PATH
91   bbtkgeditordll=$generationdir/creatools_bin/bbtkgeditorBin
92 DYLD_LIBRARY_PATH=$bbtkgeditordll:$DYLD_LIBRARY_PATH
93   creatoolsdll=$generationdir/creatools_bin/creatoolsBin
94 DYLD_LIBRARY_PATH=$creatoolssdll:$DYLD_LIBRARY_PATH
95   creaminitoolsdll=$generationdir/creatools_bin/creaMiniToolsBin
96 DYLD_LIBRARY_PATH=$creaminitoolssdll:$DYLD_LIBRARY_PATH
97 #  crealibidodll=$generationdir/creatools_bin/libidoBin
98 #DYLD_LIBRARY_PATH=$libidodll:$DYLD_LIBRARY_PATH
99 else
100   creadll=$generationdir/creatools_bin/creaBin
101 LD_LIBRARY_PATH=$creadll:$LD_LIBRARY_PATH
102   bbtkdll=$generationdir/creatools_bin/bbtkBin
103 LD_LIBRARY_PATH=$bbtkdll:$LD_LIBRARY_PATH
104   creamaracasdll=$generationdir/creatools_bin/creamaracasBin
105 LD_LIBRARY_PATH=$creamaracasdll:$LD_LIBRARY_PATH
106   creaenvironmentdll=$generationdir/creatools_bin/creaenvironmentBin
107 LD_LIBRARY_PATH=$creaenvironmentdll:$LD_LIBRARY_PATH
108   creabrukerdll=$generationdir/creatools_bin/creabrukerBin
109 LD_LIBRARY_PATH=$creabrukerdll:$LD_LIBRARY_PATH 
110   creaimagedll=$generationdir/creatools_bin/creaimageBin
111 LD_LIBRARY_PATH=$creaimagedll:$LD_LIBRARY_PATH
112   creacontourdll=$generationdir/creatools_bin/creacontoursBin
113 LD_LIBRARY_PATH=$creacontoursdll:$LD_LIBRARY_PATH
114   crearigidregistrationdll=$generationdir/creatools_bin/crearigidregistrationBin
115 LD_LIBRARY_PATH=$crearigidregistrationdll:$LD_LIBRARY_PATH
116   bbtkgeditordll=$generationdir/creatools_bin/bbtkgeditorBin
117 LD_LIBRARY_PATH=$bbtkgeditordll:$LD_LIBRARY_PATH
118   creatoolsdll=$generationdir/creatools_bin/creatoolsBin
119 LD_LIBRARY_PATH=$creatoolssdll:$LD_LIBRARY_PATH
120   creaminitoolsdll=$generationdir/creatools_bin/creaMiniToolsBin
121 LD_LIBRARY_PATH=$creaminitoolssdll:$LD_LIBRARY_PATH
122 #  crealibidodll=$generationdir/creatools_bin/libidoBin
123 #LD_LIBRARY_PATH=$libidodll:$LD_LIBRARY_PATH
124 fi