6 echo "sh All.sh <nameOfTheGenerationDirectory> <BooleanForDocGeneration> <userNameForCVS> <installPrefix> <buildType>"
8 echo "ex : sh All.sh /tmp/gendir OFF jpr /home/jpr/myInstallDirectory Debug"
24 echo "sh All.sh <nameOfTheGenerationDirectory> <BooleanForDocGeneration> <userNameForCVS> <installPrefix> <buildType>"
26 echo "ex : sh All.sh /tmp/gendir OFF jpr /home/jpr/myInstallDirectory Debug"
32 #allow user to choose the generation dir
33 #allow user to choose to generate the doc or not
45 mkdir $generationdir/creatools_source
46 mkdir $generationdir/creatools_bin
50 creamaracassource=creaMaracasVisu
51 creaenvironmentsource=creaEnvironment
52 creabrukersource=creaBruker
53 creaimagesource=creaImageIO
54 creacontourssource=creaContours
55 crearigidregistrationssource=creaRigidRegistration
56 bbtkgeditorsource=bbtkGEditor
57 creatoolssource=creaTools
61 # the following stupid test is used at debug time; Please don't remove!
66 rm -rf creatools_bin/creaBin
67 rm -rf creatools_bin/bbtkBin
68 rm -rf creatools_bin/creamaracasBin
69 rm -rf creatools_bin/creaEnvironmentBin
70 rm -rf creatools_bin/creaBrukerBin
71 rm -rf creatools_bin/creaImageIOBin
72 rm -rf creatools_bin/creaContoursBin
73 rm -rf creatools_bin/creaRigidRegistrationBin
74 rm -rf creatools_bin/bbtkGEditorBin
75 rm -rf creatools_bin/creaToolsBin
77 sh $scriptDir/cvscheckout.sh $creasource $generationdir $cvsUserName
78 sh $scriptDir/cvscheckout.sh $bbtksource $generationdir $cvsUserName
79 sh $scriptDir/cvscheckout.sh $creamaracassource $generationdir $cvsUserName
80 sh $scriptDir/cvscheckout.sh $creaenvironmentsource $generationdir $cvsUserName
81 sh $scriptDir/cvscheckout.sh $creabrukersource $generationdir $cvsUserName
82 sh $scriptDir/cvscheckout.sh $creaimagesource $generationdir $cvsUserName
83 sh $scriptDir/cvscheckout.sh $creacontourssource $generationdir $cvsUserName
84 sh $scriptDir/cvscheckout.sh $crearigidregistrationssource $generationdir $cvsUserName
85 sh $scriptDir/cvscheckout.sh $bbtkgeditorsource $generationdir $cvsUserName
86 sh $scriptDir/cvscheckout.sh $creatoolssource $generationdir $cvsUserName
93 # the following stupid test is used at debug time; Please don't remove!
97 sh cmakemod.sh $creasource $generationdir $installPrefix $buildType
98 sh creaVariables.sh $creasource $generationdir $docgeneration
99 sh compilemod.sh $buildType $creasource $generationdir
100 sh ctestmod.sh $creasource $generationdir
102 creadll=$generationdir/creatools_bin/creaBin
103 LD_LIBRARY_PATH=$creadll:LD_LIBRARY_$PATH
105 # the following stupid test is used at debug time; Please don't remove!
110 sh cmakemod.sh $bbtksource $generationdir $installPrefix $buildType
111 sh bbtkVariables.sh $bbtksource $generationdir $docgeneration
112 sh compilemod.sh $buildType $bbtksource $generationdir
113 sh ctestmod.sh $bbtksource $generationdir
115 bbtkdll=$generationdir/creatools_bin/bbtkBin
116 LD_LIBRARY_PATH=$bbtkdll:$LD_LIBRARY_PATH
118 # the following stupid test is used at debug time; Please don't remove!
123 sh cmakemod.sh $creamaracassource $generationdir $installPrefix $buildType
124 sh creaMaracasVariables.sh $creamaracassource $generationdir $docgeneration
125 sh compilemod.sh $buildType $creamaracassource $generationdir
126 sh ctestmod.sh $creamaracassource $generationdir
129 creamaracasdll=$generationdir/creatools_bin/creamaracasBin
130 LD_LIBRARY_PATH=$creamaracasdll:$LD_LIBRARY_PATH
132 # the following stupid test is used at debug time; Please don't remove!
137 sh cmakemod.sh $creaenvironmentsource $generationdir $installPrefix $buildType
138 sh creaenvironmentVariables.sh $creaenvironmentsource $generationdir $docgeneration
139 sh compilemod.sh $buildType $creaenvironmentsource $generationdir
140 sh ctestmod.sh $creaenvironmentsource $generationdir
142 creaenvironmentdll=$generationdir/creatools_bin/creaenvironmentBin
143 LD_LIBRARY_PATH=$creaenvironmentdll:$LD_LIBRARY_PATH
145 # the following stupid test is used at debug time; Please don't remove!
150 sh cmakemod.sh $creabrukersource $generationdir $installPrefix $buildType
151 sh creaBrukerVariables.sh $creabrukersource $generationdir $docgeneration
152 sh compilemod.sh $buildType $creabrukersource $generationdir
154 sh ctestmod.sh $creabrukersource $generationdir
156 creabrukerdll=$generationdir/creatools_bin/creabrukerBin
157 LD_LIBRARY_PATH=$creabrukerdll:$LD_LIBRARY_PATH
159 # the following stupid test is used at debug time; Please don't remove!
164 sh cmakemod.sh $creaimagesource $generationdir $installPrefix $buildType
165 sh creaImageIOVariables.sh $creaimagesource $generationdir $docgeneration
166 sh compilemod.sh $buildType $creaimagesource $generationdir
167 sh ctestmod.sh $creaimagesource $generationdir
169 creaimagedll=$generationdir/creatools_bin/creaimageBin
170 LD_LIBRARY_PATH=$creaimagedll:$LD_LIBRARY_PATH
172 # the following stupid test is used at debug time; Please don't remove!
177 sh cmakemod.sh $creacontourssource $generationdir $installPrefix $buildType
178 sh creaContoursVariables.sh $creacontourssource $generationdir $docgeneration
179 sh compilemod.sh $buildType $creacontourssource $generationdir
180 sh ctestmod.sh $creacontourssource $generationdir
182 # creacontourdll=$generationdir/creatools_bin/creacontoursBin
183 # LD_LIBRARY_PATH=$creacontoursdll:$LD_LIBRARY_PATH
185 # creaRigidRegistration
187 # the following stupid test is used at debug time; Please don't remove!
191 sh cmakemod.sh $crearigidregistrationssource $generationdir $installPrefix $buildType
192 sh creaRigidRegistrationVariables.sh $crearigidregistrationssource $generationdir $docgeneration
193 sh compilemod.sh $buildType $crearigidregistrationssource $generationdir
194 sh ctestmod.sh $crearigidregistrationssource $generationdir
196 # crearigidregistrationdll=$generationdir/creatools_bin/crearigidregistrationBin
197 # LD_LIBRARY_PATH=$crearigidregistrationdll:$LD_LIBRARY_PATH
199 # the following stupid test is used at debug time; Please don't remove!
204 sh cmakemod.sh $bbtkgeditorsource $generationdir $installPrefix $buildType
205 sh bbtkGEditorVariables.sh $bbtkgeditorsource $generationdir $docgeneration
206 sh compilemod.sh $buildType $bbtkgeditorsource $generationdir
207 sh ctestmod.sh $bbtkgeditorsource $generationdir
209 # bbtkgeditordll=$generationdir/creatools_bin/bbtkgeditorBin
210 # LD_LIBRARY_PATH=$bbtkgeditordll:$LD_LIBRARY_PATH
212 # the following stupid test is used at debug time; Please don't remove!
217 sh cmakemod.sh $creatoolssource $generationdir $installPrefix $buildType
218 sh creaToolsVariables.sh $creatoolssource $generationdir $docgeneration
219 sh compilemod.sh $buildType $creatoolssource $generationdir
221 # sh ctestmod.sh $creatoolsbinary $generationdir
222 # creatoolsdll=$generationdir/creatools_bin/creatoolsBin
223 # LD_LIBRARY_PATH=$creatoolssdll:$LD_LIBRARY_PATH