3 if [ ! -f $PWD/scripts/CreaTools-configure.sh ]
7 echo "==================================================="
10 echo "YOU NEED TO RUN 'Configure' (0) FIRST !"
11 echo "==================================================="
17 # Set all local variables
19 source $PWD/scripts/CreaTools-configure.sh
20 source $PWD/scripts/CreaTools-names.sh
23 echo $PWD/scripts/CreaTools-configure.sh
24 echo --generationdir--
26 echo --docgeneration--
28 echo --installPrefix--
42 if [ ! -e $generationdir/creatools_source ]
44 echo missing $generationdir/creatools_source
47 echo "==================================================="
50 echo "YOU NEED TO RUN 'Load' (2) FIRST !"
51 echo "==================================================="
60 # -------------------------
61 # start_point = 2 : CREA
62 #-------------------------
63 if [ $start_point -le 2 ]
66 # the following stupid test is used at debug time; Please don't remove!
70 sh $scriptDir/cmakemod.sh $creasource $generationdir $installPrefix $buildType
71 sh $scriptDir/creaVariables.sh $creasource $generationdir $docgeneration
72 sh $scriptDir/compilemod.sh $buildType $creasource $generationdir
73 sh $scriptDir/ctestmod.sh $creasource $generationdir
76 creadll=$generationdir/creatools_bin/creaBin
77 LD_LIBRARY_PATH=$creadll:LD_LIBRARY_$PATH
80 # -------------------------
81 # start_point = 3 : BBTK
82 #-------------------------
83 if [ $start_point -le 3 ]
85 # the following stupid test is used at debug time; Please don't remove!
90 sh $scriptDir/cmakemod.sh $bbtksource $generationdir $installPrefix $buildType
91 sh $scriptDir/bbtkVariables.sh $bbtksource $generationdir $docgeneration $gdcmVersion
92 sh $scriptDir/compilemod.sh $buildType $bbtksource $generationdir
93 sh $scriptDir/ctestmod.sh $bbtksource $generationdir
96 bbtkdll=$generationdir/creatools_bin/bbtkBin
97 LD_LIBRARY_PATH=$bbtkdll:$LD_LIBRARY_PATH
100 # -------------------------
101 # start_point = 4 : creaMaracasVisu
102 #-------------------------
103 if [ $start_point -le 4 ]
105 # the following stupid test is used at debug time; Please don't remove!
110 sh $scriptDir/cmakemod.sh $creamaracassource $generationdir $installPrefix $buildType
111 sh $scriptDir/creaMaracasVariables.sh $creamaracassource $generationdir $docgeneration
112 sh $scriptDir/compilemod.sh $buildType $creamaracassource $generationdir
113 sh $scriptDir/ctestmod.sh $creamaracassource $generationdir
116 creamaracasdll=$generationdir/creatools_bin/creamaracasBin
117 LD_LIBRARY_PATH=$creamaracasdll:$LD_LIBRARY_PATH
120 # -------------------------
121 # start_point = 5 : creaEnvironment
122 #-------------------------
123 if [ $start_point -le 5 ]
125 # the following stupid test is used at debug time; Please don't remove!
130 sh $scriptDir/cmakemod.sh $creaenvironmentsource $generationdir $installPrefix $buildType
131 sh $scriptDir/creaenvironmentVariables.sh $creaenvironmentsource $generationdir $docgeneration
132 sh $scriptDir/compilemod.sh $buildType $creaenvironmentsource $generationdir
133 sh $scriptDir/ctestmod.sh $creaenvironmentsource $generationdir
136 creaenvironmentdll=$generationdir/creatools_bin/creaenvironmentBin
137 LD_LIBRARY_PATH=$creaenvironmentdll:$LD_LIBRARY_PATH
140 # -------------------------
141 # start_point = 6 : creaBruker
142 #-------------------------
143 if [ $start_point -le 6 ]
145 # the following stupid test is used at debug time; Please don't remove!
150 sh $scriptDir/cmakemod.sh $creabrukersource $generationdir $installPrefix $buildType
151 sh $scriptDir/creaBrukerVariables.sh $creabrukersource $generationdir $docgeneration $gdcmVersion
152 sh $scriptDir/compilemod.sh $buildType $creabrukersource $generationdir
153 sh $scriptDir/ctestmod.sh $creabrukersource $generationdir
156 creabrukerdll=$generationdir/creatools_bin/creabrukerBin
157 LD_LIBRARY_PATH=$creabrukerdll:$LD_LIBRARY_PATH
160 # -------------------------
161 # start_point = 7 : creaImageIO
162 #-------------------------
163 if [ $start_point -le 7 ]
165 # the following stupid test is used at debug time; Please don't remove!
170 sh $scriptDir/cmakemod.sh $creaimagesource $generationdir $installPrefix $buildType
171 sh $scriptDir/creaImageIOVariables.sh $creaimagesource $generationdir $docgeneration $gdcmVersion
172 sh $scriptDir/compilemod.sh $buildType $creaimagesource $generationdir
173 sh $scriptDir/ctestmod.sh $creaimagesource $generationdir
176 creaimagedll=$generationdir/creatools_bin/creaimageBin
177 LD_LIBRARY_PATH=$creaimagedll:$LD_LIBRARY_PATH
180 # -------------------------
181 # start_point = 8 : creaContour
182 #-------------------------
183 if [ $start_point -le 8 ]
185 # the following stupid test is used at debug time; Please don't remove!
190 sh $scriptDir/cmakemod.sh $creacontourssource $generationdir $installPrefix $buildType
191 sh $scriptDir/creaContoursVariables.sh $creacontourssource $generationdir $docgeneration
192 sh $scriptDir/compilemod.sh $buildType $creacontourssource $generationdir
193 sh $scriptDir/ctestmod.sh $creacontourssource $generationdir
196 # creacontourdll=$generationdir/creatools_bin/creacontoursBin
197 # LD_LIBRARY_PATH=$creacontoursdll:$LD_LIBRARY_PATH
200 # -------------------------
201 # start_point = 9 : creaRigidRegistration
202 #-------------------------
203 if [ $start_point -le 9 ]
205 # the following stupid test is used at debug time; Please don't remove!
209 sh $scriptDir/cmakemod.sh $crearigidregistrationssource $generationdir $installPrefix $buildType
210 sh $scriptDir/creaRigidRegistrationVariables.sh $crearigidregistrationssource $generationdir $docgeneration
211 sh $scriptDir/compilemod.sh $buildType $crearigidregistrationssource $generationdir
212 sh $scriptDir/ctestmod.sh $crearigidregistrationssource $generationdir
215 # crearigidregistrationdll=$generationdir/creatools_bin/crearigidregistrationBin
216 # LD_LIBRARY_PATH=$crearigidregistrationdll:$LD_LIBRARY_PATH
219 # -------------------------
220 # start_point = 10 : bbtkGEditor
221 #-------------------------
222 if [ $start_point -le 10 ]
224 # the following stupid test is used at debug time; Please don't remove!
229 sh $scriptDir/cmakemod.sh $bbtkgeditorsource $generationdir $installPrefix $buildType
230 sh $scriptDir/bbtkGEditorVariables.sh $bbtkgeditorsource $generationdir $docgeneration
231 sh $scriptDir/compilemod.sh $buildType $bbtkgeditorsource $generationdir
232 sh $scriptDir/ctestmod.sh $bbtkgeditorsource $generationdir
235 # bbtkgeditordll=$generationdir/creatools_bin/bbtkgeditorBin
236 # LD_LIBRARY_PATH=$bbtkgeditordll:$LD_LIBRARY_PATH
239 # -------------------------
240 # start_point = 11 : creaTools
241 #-------------------------
242 if [ $start_point -le 11 ]
244 # the following stupid test is used at debug time; Please don't remove!
249 sh $scriptDir/cmakemod.sh $creatoolssource $generationdir $installPrefix $buildType
250 sh $scriptDir/creaToolsVariables.sh $creatoolssource $generationdir $docgeneration
251 sh $scriptDir/compilemod.sh $buildType $creatoolssource $generationdir
256 # sh ctestmod.sh $creatoolsbinary $generationdir
257 # creatoolsdll=$generationdir/creatools_bin/creatoolsBin
258 # LD_LIBRARY_PATH=$creatoolssdll:$LD_LIBRARY_PATH