+++ /dev/null
-baseDir="$(pwd)"
-
-cd scripts
-source config.sh
-source cloneGit.sh
-mkdir $creatoolsBin
-source compile_crea.sh
-cd $baseDir
git clone ssh://gitolite@git.creatis.insa-lyon.fr/bbtk
cd crea
-git checkout vtk7itk4wx3
+git checkout vtk7itk4wx3-mxecc
cd ..
cd bbtk
-git checkout vtk7itk4wx3
+git checkout vtk7itk4wx3-mxecc
cd ..
cd $baseDir/scripts
+
mkdir $moduleBin
cd $moduleBin
$cmakeVar $creatoolsSource/$module
-$cmakeVar -D CREA_BUILD_VTK:BOOL=ON -D CREA_BUILD_WX:BOOL=ON CMakeCache.txt
+$cmakeVar -D CREA_BUILD_VTK:BOOL=ON -D CREA_USE_MXE:BOOL=ON -D CREA_BUILD_WX:BOOL=ON CMakeCache.txt
+$cmakeVar -D CMAKE_VERBOSE_MAKEFILE:BOOL=ON CMakeCache.txt
$cmakeVar CMakeCache.txt
-$cmakeVar CMakeCache.txt
-make -j5
+make -j$corenumber
cd $baseDir/scripts
-creatoolsSource=/tmpEED/creaTools-mxe/cs
-creatoolsInstall=/tmpEED/creaTools-mxe/ci
-creatoolsBin=/tmpEED/creaTools-mxe/cb
-cmakeVar=/tmpEED/creaTools-mxe/mxe/usr/bin/x86_64-w64-mingw32.shared-cmake
+creatoolsBase=/tmpEED/creaTools-mxe
+creatoolsSource=$creatoolsBase/cs
+creatoolsInstall=$creatoolsBase/ci
+creatoolsBin=$creatoolsBase/cb
+cmakeVar=$creatoolsBase/mxe/usr/bin/x86_64-w64-mingw32.shared-cmake
+corenumber=`getncore`