]> Creatis software - creaToolsTools.git/commitdiff
new way to make / make-install
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Mon, 3 Jan 2011 11:51:49 +0000 (11:51 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Mon, 3 Jan 2011 11:51:49 +0000 (11:51 +0000)
Install/configure.sh_TEMPLATE [new file with mode: 0644]

diff --git a/Install/configure.sh_TEMPLATE b/Install/configure.sh_TEMPLATE
new file mode 100644 (file)
index 0000000..9bc6a65
--- /dev/null
@@ -0,0 +1,67 @@
+#!/bin/sh
+
+# used by make.sh and make-install.sh (that replace All.sh)
+
+#allow user to choose the generation dir
+#allow user to choose to generate the doc or not
+#allow user to choose whether if wants to use GDCM1 or GDCM2
+#allow user to choose where he wants to get the sources from : CVS / HTML
+
+
+generationdir=<name of the Generation Directory>
+docGeneration=<Boolean For Doc Generation> : ON / OFF
+cvsUserName=<user Name For CVS>
+installPrefix=<installPrefix> : /usr/local or $generationdir/creatools_install
+buildType=<buildType> : Release / Debug
+gdcmVersion=<GDCM Version> : GDCM1 / GDCM2
+sourcesFrom=<where do you want to get them from> : CVS / HTML
+
+
+# USER!  : Forget the following lines (i.e. : Hands Off!)
+# -------------------------------------------------------
+
+#allow debugger to choose the startpoint
+# start_point : used at debug time : start point of the script
+# ex : if everything is OK, but bbtkGEditor, 
+# cvs upate bbtkGEditor manually, and use :
+# start_point=10
+# in order not to 'cvs checkout' everything, nor recompile everything.
+
+start_point=0
+
+installPrefix=$generationdir/creatools_install
+scriptDir=$PWD/scripts
+
+ creasource=crea
+ bbtksource=bbtk
+ creamaracassource=creaMaracasVisu
+ creaenvironmentsource=creaEnvironment
+ creabrukersource=creaBruker
+ creaimagesource=creaImageIO
+ creacontourssource=creaContours
+ crearigidregistrationssource=creaRigidRegistration
+ bbtkgeditorsource=bbtkGEditor
+ creatoolssource=creaTools
+
+  creadll=$generationdir/creatools_bin/creaBin
+LD_LIBRARY_PATH=$creadll:LD_LIBRARY_$PATH
+  bbtkdll=$generationdir/creatools_bin/bbtkBin
+LD_LIBRARY_PATH=$bbtkdll:$LD_LIBRARY_PATH
+  creamaracasdll=$generationdir/creatools_bin/creamaracasBin
+LD_LIBRARY_PATH=$creamaracasdll:$LD_LIBRARY_PATH
+  creaenvironmentdll=$generationdir/creatools_bin/creaenvironmentBin
+LD_LIBRARY_PATH=$creaenvironmentdll:$LD_LIBRARY_PATH
+  creabrukerdll=$generationdir/creatools_bin/creabrukerBin
+LD_LIBRARY_PATH=$creabrukerdll:$LD_LIBRARY_PATH 
+  creaimagedll=$generationdir/creatools_bin/creaimageBin
+LD_LIBRARY_PATH=$creaimagedll:$LD_LIBRARY_PATH
+  creacontourdll=$generationdir/creatools_bin/creacontoursBin
+LD_LIBRARY_PATH=$creacontoursdll:$LD_LIBRARY_PATH
+  crearigidregistrationdll=$generationdir/creatools_bin/crearigidregistrationBin
+LD_LIBRARY_PATH=$crearigidregistrationdll:$LD_LIBRARY_PATH
+  bbtkgeditordll=$generationdir/creatools_bin/bbtkgeditorBin
+LD_LIBRARY_PATH=$bbtkgeditordll:$LD_LIBRARY_PATH
+  creatoolsdll=$generationdir/creatools_bin/creatoolsBin
+LD_LIBRARY_PATH=$creatoolssdll:$LD_LIBRARY_PATH
+
+