]> Creatis software - creaToolsTools.git/blob - Install/configure.sh_TEMPLATE
?
[creaToolsTools.git] / Install / configure.sh_TEMPLATE
1 #!/bin/sh
2
3 # used by make.sh and make-install.sh (that replace All.sh)
4
5 #allow user to choose the generation dir
6 #allow user to choose to generate the doc or not
7 #allow user to choose whether if wants to use GDCM1 or GDCM2
8 #allow user to choose where he wants to get the sources from : CVS / HTML
9
10
11 generationdir=<name of the Generation Directory>
12 docgeneration=<Boolean For Doc Generation> : ON / OFF
13 cvsUserName=<user Name For CVS>
14 installPrefix=<installPrefix> : /usr/local or $generationdir/creatools_install
15 buildType=<buildType> : Release / Debug
16 gdcmVersion=<GDCM Version> : GDCM1 / GDCM2
17 sourcesFrom=<where do you want to get them from> : CVS / HTML
18
19
20 # USER!  : Forget the following lines (i.e. : Hands Off!)
21 # -------------------------------------------------------
22
23 #allow debugger to choose the startpoint
24 # start_point : used at debug time : start point of the script
25 # ex : if everything is OK, but bbtkGEditor, 
26 # cvs upate bbtkGEditor manually, and use :
27 # start_point=10
28 # in order not to 'cvs checkout' everything, nor recompile everything.
29
30 start_point=0
31
32 scriptDir=$PWD/scripts
33
34  creasource=crea
35  bbtksource=bbtk
36  creamaracassource=creaMaracasVisu
37  creaenvironmentsource=creaEnvironment
38  creabrukersource=creaBruker
39  creaimagesource=creaImageIO
40  creacontourssource=creaContours
41  crearigidregistrationssource=creaRigidRegistration
42  bbtkgeditorsource=bbtkGEditor
43  creatoolssource=creaTools
44
45   creadll=$generationdir/creatools_bin/creaBin
46 LD_LIBRARY_PATH=$creadll:LD_LIBRARY_$PATH
47   bbtkdll=$generationdir/creatools_bin/bbtkBin
48 LD_LIBRARY_PATH=$bbtkdll:$LD_LIBRARY_PATH
49   creamaracasdll=$generationdir/creatools_bin/creamaracasBin
50 LD_LIBRARY_PATH=$creamaracasdll:$LD_LIBRARY_PATH
51   creaenvironmentdll=$generationdir/creatools_bin/creaenvironmentBin
52 LD_LIBRARY_PATH=$creaenvironmentdll:$LD_LIBRARY_PATH
53   creabrukerdll=$generationdir/creatools_bin/creabrukerBin
54 LD_LIBRARY_PATH=$creabrukerdll:$LD_LIBRARY_PATH 
55   creaimagedll=$generationdir/creatools_bin/creaimageBin
56 LD_LIBRARY_PATH=$creaimagedll:$LD_LIBRARY_PATH
57   creacontourdll=$generationdir/creatools_bin/creacontoursBin
58 LD_LIBRARY_PATH=$creacontoursdll:$LD_LIBRARY_PATH
59   crearigidregistrationdll=$generationdir/creatools_bin/crearigidregistrationBin
60 LD_LIBRARY_PATH=$crearigidregistrationdll:$LD_LIBRARY_PATH
61   bbtkgeditordll=$generationdir/creatools_bin/bbtkgeditorBin
62 LD_LIBRARY_PATH=$bbtkgeditordll:$LD_LIBRARY_PATH
63   creatoolsdll=$generationdir/creatools_bin/creatoolsBin
64 LD_LIBRARY_PATH=$creatoolssdll:$LD_LIBRARY_PATH
65
66