]> Creatis software - creaToolsTools.git/blob - README.txt
Some more comments
[creaToolsTools.git] / README.txt
1 === === ===  UNIX / LINUX users === === ===
2
3 0) Make sure everything you'll need is properly installed :
4 crea_Developers_tools, crea_ThirdParty_Libraries
5 have a look at :
6 http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDownload
7
8 1) Make sure you got the last version of creaToolsTools.
9 cvs update -dP creaToolsTools
10
11 2) make sure VTK_DIR environment variable is set properly :
12 echo $VTK_DIR
13 Set it, if not OK:
14 export VTK_DIR=/usr/local/lib/vtk-5.4, for instance
15
16 3) make sure LATEX_COMPILER environment variable is set properly :
17 echo $LATEX_COMPILER 
18 Set it, if not OK:
19 export LATEX_COMPILER=/usr/bin/latex, for instance
20
21 4) ssh-add
22 <type your cvs password>
23
24 5) sudo configuration
25 https://fedoraproject.org/wiki/Configuring_Sudo
26
27 6)cd Install
28 cp creatools.sh_TEMPLATE creatools.sh
29
30 7) modify the file creatools.sh, according to your preferences, modify (only once) creatools.sh
31 vim creatools.sh
32 as follows :
33
34 -- creatools.sh ---------------------
35 creatoolsGeneration=<directory you want to generate in>
36 installPrefix=<your Install dir> or </usr/local> 
37 cvsUser=<USER>
38 docGeneration=<OFF|ON> let it to OFF!
39 buildType=<Release|Debug>
40 cd scripts
41 sh All.sh $creatoolsGeneration $docGeneration $cvsUser $installPrefix $buildType
42 cd .. 
43 -----------------------
44
45 7) Run the whole stuff :
46 sh creatools.sh
47
48 8) if you performed a 'local install' (i.e : you *didn't* use installPrefix=/usr/local)
49 edit your .bash_profile
50 PATH=$PATH:<fullPathnameOfYourInstallPrefix>/creatools_install/bin
51 export PATH
52 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<fullPathnameOfYourInstallPrefix>/creatools_install/lib
53 export LD_LIBRARY_PATH
54
55
56
57 === === === WINDOWS users === === ===
58
59
60
61 0) Make sure everything you'll need is properly installed :
62 crea_Developers_tools, crea_ThirdParty_dlls, and VisualStudioExpress2008
63 Have a look at :
64 http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDownload
65
66 Change your CVS user in the file All.bat
67
68 Copy all the .bat files into one directoy where the tests are going to be run
69 execute All.bat
70
71 Not forget to run your ssh key with puttyAgent
72
73 All the creatools projects are downloaded from the CVS, compiled and the CTest for the dashboard is run.
74
75
76
77
78
79
80
81
82
83
84
85 Forget the following lines !
86
87 Tools to manage the creaTools suite (build, test, submit to dashboard, package, ...)
88 ====================================================================================
89
90 * ctest:
91 ctest scripts and instructions to perform automated build/testing and submission to creatis cdash dashboard
92 * windows:
93 windows installers of the suite and instructions to package the suite for windows. subdirs:
94   * creaThirdParty_dlls:
95     project which creates the creaThirdParty_dlls win installer (using cmake and NSIS)
96   * CreaTools_win32_installers:
97     batch installers of the suite
98