# configures the compilation to enable testing with CDash
cd $2/creatools_bin/$3Bin
pwd
-cmake -DBUILD_TESTING:BOOL=ON -DINCLUDE_CTEST:BOOL=ON -DCREA_BUILD_VTK:BOOL=ON -DCREA_BUILD_WX:BOOL=ON -DBOOST_SIGNALS_NO_DEPRECATION_WARNING:BOOL=ON $2/creatools_source/$3
+cmake -DBUILD_TESTING:BOOL=ON -DINCLUDE_CTEST:BOOL=ON -DCREA_BUILD_VTK:BOOL=ON -DCREA_BUILD_WX:BOOL=ON $2/creatools_source/$3
cmake .
cmake .
-# launches the compilation and sends the result to the dashboard
+# cleans and launches the compilation an and sends the result to the dashboard
+make clean
make -j$4 Experimental
# Retrieves creatools source code, compiles and install
./installscript creatools
-# to launch make experimental : this line is a perfect crontab if we do not want to do update of the git repositories
+# to launch make experimental after a make clean : this line is a perfect crontab if we do not want to do update of the git repositories
bash /home/creatools/Creatis/creaToolsTools_crontabAnonymousAccess/Linux/scripts/cdashscript.sh /home/creatools/Creatis/creaToolsTools_crontabAnonymousAccess/Linux/scripts/cdashmod.sh /home/creatools/Creatis/creaToolsTools_crontabAnonymousAccess/ /home/creatools/Creatis/CreatoolsGenerationDir_crontabAnonymousAccess 4
MAILTO=cdash-admin@creatis.insa-lyon.fr
# runs the tests at midnight
-0 0 * * * bash <CREATOOLS_PATH>/creaToolsTools/Linux/scripts/cdashscript.sh /home/creatools/Creatis/creaToolsTools/Linux/scripts/cdashmod.sh /home/creatools/Creatis/creaToolsTools/ /home/creatools/Creatis/CreatoolsGenerationDir 4
+# 0 0 * * * bash <CREATOOLS_PATH>/creaToolsTools/Linux/scripts/cdashscript.sh /home/creatools/Creatis/creaToolsTools/Linux/scripts/cdashmod.sh /home/creatools/Creatis/creaToolsTools/ /home/creatools/Creatis/CreatoolsGenerationDir 4
0 0 * * * bash <CREATOOLS_PATH>/creaToolsTools/Linux/scripts/compilation_from_installscript.sh