echo " Install Prefix for CreaTools : $installPrefix"
echo " Boolean for Doc Generation : $docgeneration"
echo " Where do you want to get source files from : $sourcesFrom"
- if [ $sourcesFrom = GIT ] ; then
- echo " GIT User Name : $gitUserName"
- fi
echo " Login User Name : $loginUserName"
echo " Login Group Name : $loginGroupName"
echo " Build type : $buildType"
docgeneration=OFF
sourcesFrom=HTML
-gitUserName=
loginUserName=$USER
loginGroupName=`groups | awk '{print $1}'`
buildType=RelWithDebug
echo " -gdir <dir> : generation directory (default $generationdir)"
echo " -instprefix <dir> : creatools install prefix"
echo " -instprefix3 <dir> : 3rd party library install prefix"
- echo " -git <gitusername> : get creatools from git (CREATIS user only)"
+ echo " -git : get creatools from git (CREATIS user only)"
echo " -build : build type Release, RelWithDebug or Debug (default RelWithDebug)"
echo ""
echo " experimental configure options (use at your own risk!!):"
-instprefix) installPrefix=$2; shift 2;;
-instprefix3) installPrefixThird=$2; shift 2;;
-doc) docgeneration=ON; shift 1;;
- -git) sourcesFrom=GIT; gitUserName=$2; shift 2;;
+ -git) sourcesFrom=GIT; shift 1;;
-gdcm2) gdcmVersion=GDCM2; shift 1;;
-itk4) ITKVersion=ITK4; shift 1;;
-build) buildType=$2; shift 2;;
echo "installPrefixThird=$installPrefixThird" >> $configureFile
echo "docgeneration=$docgeneration" >> $configureFile
echo "sourcesFrom=$sourcesFrom" >> $configureFile
- echo "gitUserName=$gitUserName" >> $configureFile
echo "loginUserName=$loginUserName" >> $configureFile
echo "loginGroupName=$loginGroupName" >> $configureFile
echo "buildType=$buildType" >> $configureFile
#
if [ $sourcesFrom = GIT ]
then
- bash $scriptDir/gitclone.sh $creasource $generationdir $gitUserName
- bash $scriptDir/gitclone.sh $bbtksource $generationdir $gitUserName
- bash $scriptDir/gitclone.sh $creamaracassource $generationdir $gitUserName
- bash $scriptDir/gitclone.sh $creaenvironmentsource $generationdir $gitUserName
- bash $scriptDir/gitclone.sh $creabrukersource $generationdir $gitUserName
- bash $scriptDir/gitclone.sh $creaimagesource $generationdir $gitUserName
- bash $scriptDir/gitclone.sh $creacontourssource $generationdir $gitUserName
- bash $scriptDir/gitclone.sh $crearigidregistrationssource $generationdir $gitUserName
- bash $scriptDir/gitclone.sh $bbtkgeditorsource $generationdir $gitUserName
- bash $scriptDir/gitclone.sh $creatoolssource $generationdir $gitUserName
- bash $scriptDir/gitclone.sh $creaminitoolssource $generationdir $gitUserName
+ bash $scriptDir/gitclone.sh $creasource $generationdir
+ bash $scriptDir/gitclone.sh $bbtksource $generationdir
+ bash $scriptDir/gitclone.sh $creamaracassource $generationdir
+ bash $scriptDir/gitclone.sh $creaenvironmentsource $generationdir
+ bash $scriptDir/gitclone.sh $creabrukersource $generationdir
+ bash $scriptDir/gitclone.sh $creaimagesource $generationdir
+ bash $scriptDir/gitclone.sh $creacontourssource $generationdir
+ bash $scriptDir/gitclone.sh $crearigidregistrationssource $generationdir
+ bash $scriptDir/gitclone.sh $bbtkgeditorsource $generationdir
+ bash $scriptDir/gitclone.sh $creatoolssource $generationdir
+ bash $scriptDir/gitclone.sh $creaminitoolssource $generationdir
# bash $scriptDir/cvscheckout.sh $libidosource-ESRF $generationdir $cvsUserName
# mv $libidosource-ESRF $libidosource
fi