#fi
creaenvironmentdll=$generationdir/tmpCreaTools_INSTALL/creaenvironmentBin
LD_LIBRARY_PATH=$creaenvironmentdll:$LD_LIBRARY_PATH
-
+
#if [ true = false ]
#then
# creaBruker
sh cmakemod.sh $creabrukersource $generationdir
sh creaBrukerVariables.sh $creabrukersource $generationdir $docgeneration
#fi
+
sh compilemod.sh $buildtype $creabrukersource $generationdir
- echo "creaBruker : out of compilemod.sh; stop here, now!"
- exit 0
+# echo "creaBruker : out of compilemod.sh; stop here, now!"
+# exit 0
sh ctestmod.sh $creabrukersource $creabinfolder
creabrukerdll=$generationdir/tmpCreaTools_INSTALL/creabrukerBin
LD_LIBRARY_PATH=$creabrukerdll:$LD_LIBRARY_PATH
# creaTools
sh cmakemod.sh $creatoolssource $generationdir
sh creaToolsVariables.sh $creatoolssource $generationdir $docgeneration
- sh compilemod .sh $buildtype $creatoolssource $generationdir
+ sh compilemod.sh $buildtype $creatoolssource $generationdir
# sh ctestmod.sh $creatoolsbinary $generationdir
# creatoolsdll=$generationdir/tmpCreaTools_INSTALL/creatoolsBin
# LD_LIBRARY_PATH=$creatoolssdll:$LD_LIBRARY_PATH
binfolder=$2/tmpCreaTools_INSTALL/$1Bin
cd $binfolder
-cmake -D crea_DIR:PATH=$2/tmpCreaTools_INSTALL/creaBin CMakeCache.txt
-cmake -D BBTK_DIR:PATH=$2/tmpCreaTools_INSTALL/bbtkBin CMakeCache.txt
+cmake -D crea_DIR:PATH=$2/tmpCreaTools_INSTALL/creaBin CMakeCache.txt
+cmake -D BBTK_DIR:PATH=$2/tmpCreaTools_INSTALL/bbtkBin CMakeCache.txt
cmake -D creaMaracasVisu_DIR:PATH=$2/tmpCreaTools_INSTALL/creaMaracasVisuBin CMakeCache.txt
-cmake -D BUILD_bbtkGEditor_DOC:BOOL=$3 CMakeCache.txt
+cmake -D BUILD_bbtkGEditor_DOC:BOOL=$3 CMakeCache.txt
cmake CMakeCache.txt
+
cd ..
binfolder=$2/tmpCreaTools_INSTALL/$1Bin
cd $binfolder
-echo " = in bbtkVariables crea_DIR : $2/tmpCreaTools_INSTALL/crea"
-cmake -D --BUILD_ALL:BOOL=ON -D crea_DIR:PATH=$2/tmpCreaTools_INSTALL/creaBin -D BUILD_BBTK_DOC:BOOL=$3 CMakeCache.txt
+cmake -D --BUILD_ALL:BOOL=ON CMakeCache.txt
+cmake -D crea_DIR:PATH=$2/tmpCreaTools_INSTALL/creaBin CMakeCache.txt
+cmake -D BUILD_BBTK_DOC:BOOL=$3 CMakeCache.txt
+
+cmake CMakeCache.txt
cmake CMakeCache.txt
cmake CMakeCache.txt
cmake CMakeCache.txt
cmake CMakeCache.txt
-cmake CMakeCache.tx
cmake CMakeCache.txt
cd ..
#cmake -D INCLUDE_CTEST:BOOL=ON -D CMAKE_INSTALL_PREFIX:PATH=$currentdir/tmpCreaTools_INSTALL/$1 -D BBTK_USE_QT:BOOL=OFF -D BBTK_USE_WXWIDGETS:BOOL=ON -D VTK_DIR:PATH=/usr/local/lib/vtk-5.4 -D crea_DIR:PATH=$currentdir/tmpCreaTools_INSTALL/creaBin CMakeCache.txt
-cmake -D INCLUDE_CTEST:BOOL=ON -D CMAKE_INSTALL_PREFIX:PATH=$currentdir/tmpCreaTools_INSTALL/$1 -D BBTK_USE_QT:BOOL=OFF -D BBTK_USE_WXWIDGETS:BOOL=ON -D VTK_DIR:PATH=/usr/local/lib/vtk-5.4 -D crea_DIR:PATH=$currentdir/tmpCreaTools_INSTALL/creaBin -D BBTK_DIR:PATH=$currentdir/tmpCreaTools_INSTALL/bbtkBin CMakeCache.txt
+cmake -D INCLUDE_CTEST:BOOL=ON -D CMAKE_INSTALL_PREFIX:PATH=$currentdir/tmpCreaTools_INSTALL/$1 -D BBTK_USE_QT:BOOL=OFF -D BBTK_USE_WXWIDGETS:BOOL=ON -D VTK_DIR:PATH=/usr/local/lib/vtk-5.4 -D crea_DIR:PATH=$currentdir/tmpCreaTools_INSTALL/creaBin -D BBTK_DIR:PATH=$currentdir/tmpCreaTools_INSTALL/bbtkBin CMakeCache.txt
cd ..
-cd $3/tmpCreaTools_INSTALL/$2Bin
# $1 : useless for Linux (Release/Debug)
-echo "=in compilemod.sh ====================================================== $3/tmpCreaTools_INSTALL/$2Bin "
-echo $1
-echo $2
-echo $3
-echo "=in compilemod.sh ====================================================== $3/tmpCreaTools_INSTALL/$2Bin "
-pwd
+cd $3/tmpCreaTools_INSTALL/$2Bin
+#echo $1
+#echo $2
+#echo $3
make
binfolder=$2/tmpCreaTools_INSTALL/$1Bin
cd $binfolder
-cmake -D BBTK_DIR:PATH=$2/tmpCreaTools_INSTALL/bbtkBin -D crea_DIR:PATH=$2/tmpCreaTools_INSTALL/creaBin -D BUILD_BBTK_PACKAGE_creaContours:BOOL=ON -D creaContours_DOC:BOOL=$3 CMakeCache.txt
+cmake -D BBTK_DIR:PATH=$2/tmpCreaTools_INSTALL/bbtkBin CMakeCache.txt
+cmake -D crea_DIR:PATH=$2/tmpCreaTools_INSTALL/creaBin CMakeCache.txt
+cmake -D BUILD_BBTK_PACKAGE_creaContours:BOOL=ON CMakeCache.txt
+cmake -D creaContours_DOC:BOOL=$3 CMakeCache.txt
cmake -D BUILD_BBTK_PACKAGE_creaContours_DOXYGEN_DOC:BOOL=$3 CMakeCache.txt
+cmake CMakeCache.txt
+
cd ..
#!/bin/sh
-# $1 : bbtk
+# $1 : 'creaImageIO'
# $2 : generationdir
# $3 : ON/OFF (generate doc)
binfolder=$2/tmpCreaTools_INSTALL/$1Bin
cd $binfolder
-cmake -D BBTK_DIR:PATH=$currentdir/tmpCreaTools_INSTALL/bbtkBin -D crea_DIR:PATH=$currentdir/tmpCreaTools_INSTALL/creaBin -D BUILD_BBTK_PACKAGE_creaImageIO:BOOL=ON -D creaImageIO_DOC:BOOL=$3 CMakeCache.txt
-cmake -D BUILD_BBTK_PACKAGE_creaImageIO_DOXYGEN_DOC:BOOL=$3 CMakeCache.txt
+cmake -D BBTK_DIR:PATH=$currentdir/tmpCreaTools_INSTALL/bbtkBin CMakeCache.txt
+cmake -D crea_DIR:PATH=$currentdir/tmpCreaTools_INSTALL/creaBin CMakeCache.txt
+cmake -D BUILD_BBTK_PACKAGE_creaImageIO:BOOL=ON CMakeCache.txt
+cmake -D BUILD_creaImageIO_DOC:BOOL=$3 CMakeCache.txt
+cmake -D BUILD_BBTK_PACKAGE_creaImageIO_DOXYGEN_DOC:BOOL=$3 CMakeCache.txt
+
+cmake CMakeCache.txt
-#cmake -D crea_DIR:PATH=$currentdir$2 -D BUILD_BBTK_PACKAGE_creaImageIO:BOOL=ON -D creaImageIO_DOC:BOOL=ON -D creaBruker_DIR:PATH=$currentdir$4 -D USE_GDCM:BOOL=ON CMakeCache.txt
-#cmake -D BBTK_DIR:PATH=$currentdir$3 CMakeCache.txt
cd ..
currentdir=$2
binfolder=$2/tmpCreaTools_INSTALL/$1Bin
cd $binfolder
-echo " = in creaMaracaxVariables crea_DIR : $2/tmpCreaTools_INSTALL/crea"
-#currentdir=$2/tmpCreaTools_INSTALL/$1
-cmake -D BBTK_DIR:PATH=$currentdir/tmpCreaTools_INSTALL/bbtkBin -D crea_DIR:PATH=$currentdir/tmpCreaTools_INSTALL/creaBin -D BUILD_BBTK_PACKAGE_creaMaracasVisu:BOOL=ON -D creaMaracasVisu_DOC:BOOL=$3 CMakeCache.txt
-#cmake -D BBTK_DIR:PATH=$currentdir$3 CMakeCache.txt
-cmake -D BUILD_BBTK_PACKAGE_creaMaracasVisu_DOXYGEN_DOC:BOOL=$3 CMakeCache.txt
+cmake -D BBTK_DIR:PATH=$currentdir/tmpCreaTools_INSTALL/bbtkBin CMakeCache.txt
+cmake -D crea_DIR:PATH=$currentdir/tmpCreaTools_INSTALL/creaBin CMakeCache.txt
+cmake -D BUILD_BBTK_PACKAGE_creaMaracasVisu:BOOL=ON CMakeCache.txt
+cmake -D creaMaracasVisu_DOC:BOOL=$3 CMakeCache.txt
+cmake -D BUILD_BBTK_PACKAGE_creaMaracasVisu_DOXYGEN_DOC:BOOL=$3 CMakeCache.txt
+
cmake CMakeCache.txt
cmake CMakeCache.txt
+
cd ..
-# $1 : creaBruker
+# $1 : 'creaTools'
# $2 : generationdir
# $3 : ON/OFF (generate doc)
cd $binfolder
cmake -D CREATOOLS_SOURCE_PATH:PATH=$currentdir/tmpCreaTools_INSTALL/ CMakeCache.txt
+
+cmake CMakeCache.txt
+
cd ..
#!/bin/sh
-# $1 : bbtk
+# $1 : 'creaEnvironment'
# $2 : generationdir
# $3 : ON/OFF (generate doc)
cd $binfolder
cmake -D crea_DIR:PATH=$2/tmpCreaTools_INSTALL/creaBin CMakeCache.txt
+
+cmake CMakeCache.txt
+
cd ..