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
81 # -------------------------
82 # start_point = 3 : BBTK
83 #-------------------------
84 if [ $start_point -le 3 ]
86 # the following stupid test is used at debug time; Please don't remove!
91 sh $scriptDir/cmakemod.sh $bbtksource $generationdir $installPrefix $buildType
92 sh $scriptDir/bbtkVariables.sh $bbtksource $generationdir $docgeneration $gdcmVersion
93 sh $scriptDir/compilemod.sh $buildType $bbtksource $generationdir
94 sh $scriptDir/ctestmod.sh $bbtksource $generationdir
97 bbtkdll=$generationdir/creatools_bin/bbtkBin
98 LD_LIBRARY_PATH=$bbtkdll:$LD_LIBRARY_PATH
101 # -------------------------
102 # start_point = 4 : creaMaracasVisu
103 #-------------------------
104 if [ $start_point -le 4 ]
106 # the following stupid test is used at debug time; Please don't remove!
111 sh $scriptDir/cmakemod.sh $creamaracassource $generationdir $installPrefix $buildType
112 sh $scriptDir/creaMaracasVariables.sh $creamaracassource $generationdir $docgeneration
113 sh $scriptDir/compilemod.sh $buildType $creamaracassource $generationdir
114 sh $scriptDir/ctestmod.sh $creamaracassource $generationdir
117 creamaracasdll=$generationdir/creatools_bin/creamaracasBin
118 LD_LIBRARY_PATH=$creamaracasdll:$LD_LIBRARY_PATH
121 # -------------------------
122 # start_point = 5 : creaEnvironment
123 #-------------------------
124 if [ $start_point -le 5 ]
126 # the following stupid test is used at debug time; Please don't remove!
131 sh $scriptDir/cmakemod.sh $creaenvironmentsource $generationdir $installPrefix $buildType
132 sh $scriptDir/creaenvironmentVariables.sh $creaenvironmentsource $generationdir $docgeneration
133 sh $scriptDir/compilemod.sh $buildType $creaenvironmentsource $generationdir
134 sh $scriptDir/ctestmod.sh $creaenvironmentsource $generationdir
137 creaenvironmentdll=$generationdir/creatools_bin/creaenvironmentBin
138 LD_LIBRARY_PATH=$creaenvironmentdll:$LD_LIBRARY_PATH
141 # -------------------------
142 # start_point = 6 : creaBruker
143 #-------------------------
144 if [ $start_point -le 6 ]
146 # the following stupid test is used at debug time; Please don't remove!
151 sh $scriptDir/cmakemod.sh $creabrukersource $generationdir $installPrefix $buildType
152 sh $scriptDir/creaBrukerVariables.sh $creabrukersource $generationdir $docgeneration $gdcmVersion
153 sh $scriptDir/compilemod.sh $buildType $creabrukersource $generationdir
154 sh $scriptDir/ctestmod.sh $creabrukersource $generationdir
157 creabrukerdll=$generationdir/creatools_bin/creabrukerBin
158 LD_LIBRARY_PATH=$creabrukerdll:$LD_LIBRARY_PATH
161 # -------------------------
162 # start_point = 7 : creaImageIO
163 #-------------------------
164 if [ $start_point -le 7 ]
166 # the following stupid test is used at debug time; Please don't remove!
171 sh $scriptDir/cmakemod.sh $creaimagesource $generationdir $installPrefix $buildType
172 sh $scriptDir/creaImageIOVariables.sh $creaimagesource $generationdir $docgeneration $gdcmVersion
173 sh $scriptDir/compilemod.sh $buildType $creaimagesource $generationdir
174 sh $scriptDir/ctestmod.sh $creaimagesource $generationdir
177 creaimagedll=$generationdir/creatools_bin/creaimageBin
178 LD_LIBRARY_PATH=$creaimagedll:$LD_LIBRARY_PATH
181 # -------------------------
182 # start_point = 8 : creaContour
183 #-------------------------
184 if [ $start_point -le 8 ]
186 # the following stupid test is used at debug time; Please don't remove!
191 sh $scriptDir/cmakemod.sh $creacontourssource $generationdir $installPrefix $buildType
192 sh $scriptDir/creaContoursVariables.sh $creacontourssource $generationdir $docgeneration
193 sh $scriptDir/compilemod.sh $buildType $creacontourssource $generationdir
194 sh $scriptDir/ctestmod.sh $creacontourssource $generationdir
197 # creacontourdll=$generationdir/creatools_bin/creacontoursBin
198 # LD_LIBRARY_PATH=$creacontoursdll:$LD_LIBRARY_PATH
201 # -------------------------
202 # start_point = 9 : creaRigidRegistration
203 #-------------------------
204 if [ $start_point -le 9 ]
206 # the following stupid test is used at debug time; Please don't remove!
210 sh $scriptDir/cmakemod.sh $crearigidregistrationssource $generationdir $installPrefix $buildType
211 sh $scriptDir/creaRigidRegistrationVariables.sh $crearigidregistrationssource $generationdir $docgeneration
212 sh $scriptDir/compilemod.sh $buildType $crearigidregistrationssource $generationdir
213 sh $scriptDir/ctestmod.sh $crearigidregistrationssource $generationdir
216 # crearigidregistrationdll=$generationdir/creatools_bin/crearigidregistrationBin
217 # LD_LIBRARY_PATH=$crearigidregistrationdll:$LD_LIBRARY_PATH
220 # -------------------------
221 # start_point = 10 : bbtkGEditor
222 #-------------------------
223 if [ $start_point -le 10 ]
225 # the following stupid test is used at debug time; Please don't remove!
230 sh $scriptDir/cmakemod.sh $bbtkgeditorsource $generationdir $installPrefix $buildType
231 sh $scriptDir/bbtkGEditorVariables.sh $bbtkgeditorsource $generationdir $docgeneration
232 sh $scriptDir/compilemod.sh $buildType $bbtkgeditorsource $generationdir
233 sh $scriptDir/ctestmod.sh $bbtkgeditorsource $generationdir
236 # bbtkgeditordll=$generationdir/creatools_bin/bbtkgeditorBin
237 # LD_LIBRARY_PATH=$bbtkgeditordll:$LD_LIBRARY_PATH
240 # -------------------------
241 # start_point = 11 : creaTools
242 #-------------------------
243 if [ $start_point -le 11 ]
245 # the following stupid test is used at debug time; Please don't remove!
250 sh $scriptDir/cmakemod.sh $creatoolssource $generationdir $installPrefix $buildType
251 sh $scriptDir/creaToolsVariables.sh $creatoolssource $generationdir $docgeneration
252 sh $scriptDir/compilemod.sh $buildType $creatoolssource $generationdir
257 # sh ctestmod.sh $creatoolsbinary $generationdir
258 # creatoolsdll=$generationdir/creatools_bin/creatoolsBin
259 # LD_LIBRARY_PATH=$creatoolssdll:$LD_LIBRARY_PATH