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 "==================================================="
58 if [ -e creatools_bin ]
66 # -------------------------
67 # start_point = 2 : CREA
68 #-------------------------
69 if [ $start_point -le 2 ]
72 # the following stupid test is used at debug time; Please don't remove!
76 sh $scriptDir/cmakemod.sh $creasource $generationdir $installPrefix $buildType
77 sh $scriptDir/creaVariables.sh $creasource $generationdir $docgeneration
78 sh $scriptDir/compilemod.sh $buildType $creasource $generationdir
79 sh $scriptDir/ctestmod.sh $creasource $generationdir
82 creadll=$generationdir/creatools_bin/creaBin
83 LD_LIBRARY_PATH=$creadll:LD_LIBRARY_$PATH
86 # -------------------------
87 # start_point = 3 : BBTK
88 #-------------------------
89 if [ $start_point -le 3 ]
91 # the following stupid test is used at debug time; Please don't remove!
96 echo ========================================================= $bbtksource $generationdir $installPrefix $buildType
97 sh $scriptDir/cmakemod.sh $bbtksource $generationdir $installPrefix $buildType
98 sh $scriptDir/bbtkVariables.sh $bbtksource $generationdir $docgeneration $gdcmVersion
99 sh $scriptDir/compilemod.sh $buildType $bbtksource $generationdir
100 sh $scriptDir/ctestmod.sh $bbtksource $generationdir
103 bbtkdll=$generationdir/creatools_bin/bbtkBin
104 LD_LIBRARY_PATH=$bbtkdll:$LD_LIBRARY_PATH
107 # -------------------------
108 # start_point = 4 : creaMaracasVisu
109 #-------------------------
110 if [ $start_point -le 4 ]
112 # the following stupid test is used at debug time; Please don't remove!
117 sh $scriptDir/cmakemod.sh $creamaracassource $generationdir $installPrefix $buildType
118 sh $scriptDir/creaMaracasVariables.sh $creamaracassource $generationdir $docgeneration
119 sh $scriptDir/compilemod.sh $buildType $creamaracassource $generationdir
120 sh $scriptDir/ctestmod.sh $creamaracassource $generationdir
123 creamaracasdll=$generationdir/creatools_bin/creamaracasBin
124 LD_LIBRARY_PATH=$creamaracasdll:$LD_LIBRARY_PATH
127 # -------------------------
128 # start_point = 5 : creaEnvironment
129 #-------------------------
130 if [ $start_point -le 5 ]
132 # the following stupid test is used at debug time; Please don't remove!
137 sh $scriptDir/cmakemod.sh $creaenvironmentsource $generationdir $installPrefix $buildType
138 sh $scriptDir/creaenvironmentVariables.sh $creaenvironmentsource $generationdir $docgeneration
139 sh $scriptDir/compilemod.sh $buildType $creaenvironmentsource $generationdir
140 sh $scriptDir/ctestmod.sh $creaenvironmentsource $generationdir
143 creaenvironmentdll=$generationdir/creatools_bin/creaenvironmentBin
144 LD_LIBRARY_PATH=$creaenvironmentdll:$LD_LIBRARY_PATH
147 # -------------------------
148 # start_point = 6 : creaBruker
149 #-------------------------
150 if [ $start_point -le 6 ]
152 # the following stupid test is used at debug time; Please don't remove!
157 sh $scriptDir/cmakemod.sh $creabrukersource $generationdir $installPrefix $buildType
158 sh $scriptDir/creaBrukerVariables.sh $creabrukersource $generationdir $docgeneration $gdcmVersion
159 sh $scriptDir/compilemod.sh $buildType $creabrukersource $generationdir
160 sh $scriptDir/ctestmod.sh $creabrukersource $generationdir
163 creabrukerdll=$generationdir/creatools_bin/creabrukerBin
164 LD_LIBRARY_PATH=$creabrukerdll:$LD_LIBRARY_PATH
167 # -------------------------
168 # start_point = 7 : creaImageIO
169 #-------------------------
170 if [ $start_point -le 7 ]
172 # the following stupid test is used at debug time; Please don't remove!
177 sh $scriptDir/cmakemod.sh $creaimagesource $generationdir $installPrefix $buildType
178 sh $scriptDir/creaImageIOVariables.sh $creaimagesource $generationdir $docgeneration $gdcmVersion
179 sh $scriptDir/compilemod.sh $buildType $creaimagesource $generationdir
180 sh $scriptDir/ctestmod.sh $creaimagesource $generationdir
183 creaimagedll=$generationdir/creatools_bin/creaimageBin
184 LD_LIBRARY_PATH=$creaimagedll:$LD_LIBRARY_PATH
187 # -------------------------
188 # start_point = 8 : creaContour
189 #-------------------------
190 if [ $start_point -le 8 ]
192 # the following stupid test is used at debug time; Please don't remove!
197 sh $scriptDir/cmakemod.sh $creacontourssource $generationdir $installPrefix $buildType
198 sh $scriptDir/creaContoursVariables.sh $creacontourssource $generationdir $docgeneration
199 sh $scriptDir/compilemod.sh $buildType $creacontourssource $generationdir
200 sh $scriptDir/ctestmod.sh $creacontourssource $generationdir
203 # creacontourdll=$generationdir/creatools_bin/creacontoursBin
204 # LD_LIBRARY_PATH=$creacontoursdll:$LD_LIBRARY_PATH
207 # -------------------------
208 # start_point = 9 : creaRigidRegistration
209 #-------------------------
210 if [ $start_point -le 9 ]
212 # the following stupid test is used at debug time; Please don't remove!
216 sh $scriptDir/cmakemod.sh $crearigidregistrationssource $generationdir $installPrefix $buildType
217 sh $scriptDir/creaRigidRegistrationVariables.sh $crearigidregistrationssource $generationdir $docgeneration
218 sh $scriptDir/compilemod.sh $buildType $crearigidregistrationssource $generationdir
219 sh $scriptDir/ctestmod.sh $crearigidregistrationssource $generationdir
222 # crearigidregistrationdll=$generationdir/creatools_bin/crearigidregistrationBin
223 # LD_LIBRARY_PATH=$crearigidregistrationdll:$LD_LIBRARY_PATH
226 # -------------------------
227 # start_point = 10 : bbtkGEditor
228 #-------------------------
229 if [ $start_point -le 10 ]
231 # the following stupid test is used at debug time; Please don't remove!
236 sh $scriptDir/cmakemod.sh $bbtkgeditorsource $generationdir $installPrefix $buildType
237 sh $scriptDir/bbtkGEditorVariables.sh $bbtkgeditorsource $generationdir $docgeneration
238 sh $scriptDir/compilemod.sh $buildType $bbtkgeditorsource $generationdir
239 sh $scriptDir/ctestmod.sh $bbtkgeditorsource $generationdir
242 # bbtkgeditordll=$generationdir/creatools_bin/bbtkgeditorBin
243 # LD_LIBRARY_PATH=$bbtkgeditordll:$LD_LIBRARY_PATH
246 # -------------------------
247 # start_point = 11 : creaTools
248 #-------------------------
249 if [ $start_point -le 11 ]
251 # the following stupid test is used at debug time; Please don't remove!
256 sh $scriptDir/cmakemod.sh $creatoolssource $generationdir $installPrefix $buildType
257 sh $scriptDir/creaToolsVariables.sh $creatoolssource $generationdir $docgeneration
258 sh $scriptDir/compilemod.sh $buildType $creatoolssource $generationdir
263 # sh ctestmod.sh $creatoolsbinary $generationdir
264 # creatoolsdll=$generationdir/creatools_bin/creatoolsBin
265 # LD_LIBRARY_PATH=$creatoolssdll:$LD_LIBRARY_PATH