From: jean-pierre roux Date: Fri, 3 Sep 2010 17:42:00 +0000 (+0000) Subject: allow user to choose generation directory X-Git-Tag: CREATOOLS.2-0-3~64 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=7875890ce0a84087c9a77b17a95cf2844e1f1a40;p=creaToolsTools.git allow user to choose generation directory --- diff --git a/ctest/dashboard/cmakemod.sh b/ctest/dashboard/cmakemod.sh index 54dd34e..77077d4 100644 --- a/ctest/dashboard/cmakemod.sh +++ b/ctest/dashboard/cmakemod.sh @@ -1,9 +1,20 @@ -currentdir=`pwd` -dirInstall=$currentdir/tmpCreaTools_INSTALL/$1 +currentdir=$3 + +dirInstall=$3/tmpCreaTools_INSTALL/$1 + +echo dirInstall +echo $dirInstall + +# needed later mkdir $2 + cd $2 -cmake -G"Unix Makefiles" -H$currentdir/$1 -B$currentdir/$2 + +cmake -G"Unix Makefiles" -H$currentdir/$1 -B$2 + cmake -D INCLUDE_CTEST:BOOL=ON -D CMAKE_INSTALL_PREFIX:PATH=$dirInstall CMakeCache.txt -cd .. +#echo "only for misinstalled vtk" +#cmake -D INCLUDE_CTEST:BOOL=ON -D CMAKE_INSTALL_PREFIX:PATH=$dirInstall -D VTK_DIR:PATH=/usr/local/lib/vtk-5.4 CMakeCache.txt +cd ..