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 sh $scriptDir/cmakemod.sh $bbtksource $generationdir $installPrefix $buildType
97 sh $scriptDir/bbtkVariables.sh $bbtksource $generationdir $docgeneration $gdcmVersion
98 sh $scriptDir/compilemod.sh $buildType $bbtksource $generationdir
99 sh $scriptDir/ctestmod.sh $bbtksource $generationdir
102 bbtkdll=$generationdir/creatools_bin/bbtkBin
103 LD_LIBRARY_PATH=$bbtkdll:$LD_LIBRARY_PATH
106 # -------------------------
107 # start_point = 4 : creaMaracasVisu
108 #-------------------------
109 if [ $start_point -le 4 ]
111 # the following stupid test is used at debug time; Please don't remove!
116 sh $scriptDir/cmakemod.sh $creamaracassource $generationdir $installPrefix $buildType
117 sh $scriptDir/creaMaracasVariables.sh $creamaracassource $generationdir $docgeneration
118 sh $scriptDir/compilemod.sh $buildType $creamaracassource $generationdir
119 sh $scriptDir/ctestmod.sh $creamaracassource $generationdir
122 creamaracasdll=$generationdir/creatools_bin/creamaracasBin
123 LD_LIBRARY_PATH=$creamaracasdll:$LD_LIBRARY_PATH
126 # -------------------------
127 # start_point = 5 : creaEnvironment
128 #-------------------------
129 if [ $start_point -le 5 ]
131 # the following stupid test is used at debug time; Please don't remove!
136 sh $scriptDir/cmakemod.sh $creaenvironmentsource $generationdir $installPrefix $buildType
137 sh $scriptDir/creaenvironmentVariables.sh $creaenvironmentsource $generationdir $docgeneration
138 sh $scriptDir/compilemod.sh $buildType $creaenvironmentsource $generationdir
139 sh $scriptDir/ctestmod.sh $creaenvironmentsource $generationdir
142 creaenvironmentdll=$generationdir/creatools_bin/creaenvironmentBin
143 LD_LIBRARY_PATH=$creaenvironmentdll:$LD_LIBRARY_PATH
146 # -------------------------
147 # start_point = 6 : creaBruker
148 #-------------------------
149 if [ $start_point -le 6 ]
151 # the following stupid test is used at debug time; Please don't remove!
156 sh $scriptDir/cmakemod.sh $creabrukersource $generationdir $installPrefix $buildType
157 sh $scriptDir/creaBrukerVariables.sh $creabrukersource $generationdir $docgeneration $gdcmVersion
158 sh $scriptDir/compilemod.sh $buildType $creabrukersource $generationdir
159 sh $scriptDir/ctestmod.sh $creabrukersource $generationdir
162 creabrukerdll=$generationdir/creatools_bin/creabrukerBin
163 LD_LIBRARY_PATH=$creabrukerdll:$LD_LIBRARY_PATH
166 # -------------------------
167 # start_point = 7 : creaImageIO
168 #-------------------------
169 if [ $start_point -le 7 ]
171 # the following stupid test is used at debug time; Please don't remove!
176 sh $scriptDir/cmakemod.sh $creaimagesource $generationdir $installPrefix $buildType
177 sh $scriptDir/creaImageIOVariables.sh $creaimagesource $generationdir $docgeneration $gdcmVersion
178 sh $scriptDir/compilemod.sh $buildType $creaimagesource $generationdir
179 sh $scriptDir/ctestmod.sh $creaimagesource $generationdir
182 creaimagedll=$generationdir/creatools_bin/creaimageBin
183 LD_LIBRARY_PATH=$creaimagedll:$LD_LIBRARY_PATH
186 # -------------------------
187 # start_point = 8 : creaContour
188 #-------------------------
189 if [ $start_point -le 8 ]
191 # the following stupid test is used at debug time; Please don't remove!
196 sh $scriptDir/cmakemod.sh $creacontourssource $generationdir $installPrefix $buildType
197 sh $scriptDir/creaContoursVariables.sh $creacontourssource $generationdir $docgeneration
198 sh $scriptDir/compilemod.sh $buildType $creacontourssource $generationdir
199 sh $scriptDir/ctestmod.sh $creacontourssource $generationdir
202 # creacontourdll=$generationdir/creatools_bin/creacontoursBin
203 # LD_LIBRARY_PATH=$creacontoursdll:$LD_LIBRARY_PATH
206 # -------------------------
207 # start_point = 9 : creaRigidRegistration
208 #-------------------------
209 if [ $start_point -le 9 ]
211 # the following stupid test is used at debug time; Please don't remove!
215 sh $scriptDir/cmakemod.sh $crearigidregistrationssource $generationdir $installPrefix $buildType
216 sh $scriptDir/creaRigidRegistrationVariables.sh $crearigidregistrationssource $generationdir $docgeneration
217 sh $scriptDir/compilemod.sh $buildType $crearigidregistrationssource $generationdir
218 sh $scriptDir/ctestmod.sh $crearigidregistrationssource $generationdir
221 # crearigidregistrationdll=$generationdir/creatools_bin/crearigidregistrationBin
222 # LD_LIBRARY_PATH=$crearigidregistrationdll:$LD_LIBRARY_PATH
225 # -------------------------
226 # start_point = 10 : bbtkGEditor
227 #-------------------------
228 if [ $start_point -le 10 ]
230 # the following stupid test is used at debug time; Please don't remove!
235 sh $scriptDir/cmakemod.sh $bbtkgeditorsource $generationdir $installPrefix $buildType
236 sh $scriptDir/bbtkGEditorVariables.sh $bbtkgeditorsource $generationdir $docgeneration
237 sh $scriptDir/compilemod.sh $buildType $bbtkgeditorsource $generationdir
238 sh $scriptDir/ctestmod.sh $bbtkgeditorsource $generationdir
241 # bbtkgeditordll=$generationdir/creatools_bin/bbtkgeditorBin
242 # LD_LIBRARY_PATH=$bbtkgeditordll:$LD_LIBRARY_PATH
245 # -------------------------
246 # start_point = 11 : creaTools
247 #-------------------------
248 if [ $start_point -le 11 ]
250 # the following stupid test is used at debug time; Please don't remove!
255 sh $scriptDir/cmakemod.sh $creatoolssource $generationdir $installPrefix $buildType
256 sh $scriptDir/creaToolsVariables.sh $creatoolssource $generationdir $docgeneration
257 sh $scriptDir/compilemod.sh $buildType $creatoolssource $generationdir
262 # sh ctestmod.sh $creatoolsbinary $generationdir
263 # creatoolsdll=$generationdir/creatools_bin/creatoolsBin
264 # LD_LIBRARY_PATH=$creatoolssdll:$LD_LIBRARY_PATH