# LD_LIBRARY_PATH=$creacontoursdll:$LD_LIBRARY_PATH
# creaRigidRegistration
- sh cmakemod.sh $crearigidregistrationsource $generationdir
- sh creaRigidRegistrationVariables.sh $crearigidregistrationsource $generationdir $docgeneration
- sh compilemod.sh $buildtype $crearigidregistrationsource $generationdir
- sh ctestmod.sh $crearigidregistrationsource $generationdir
+ sh cmakemod.sh $crearigidregistrationssource $generationdir
+ sh creaRigidRegistrationVariables.sh $crearigidregistrationssource $generationdir $docgeneration
+ sh compilemod.sh $buildtype $crearigidregistrationssource $generationdir
+ sh ctestmod.sh $crearigidregistrationssource $generationdir
# crearigidregistrationdll=$generationdir/tmpCreaTools_INSTALL/crearigidregistrationBin
# LD_LIBRARY_PATH=$crearigidregistrationdll:$LD_LIBRARY_PATH
# LD_LIBRARY_PATH=$bbtkgeditordll:$LD_LIBRARY_PATH
# creaTools
- sh cmakemod.sh $creatoolssource $generationdir
- sh creaToolsVariables.sh $creatoolssource $generationdir $docgeneration
- sh compilemodCreaTools.sh $buildtype $creatoolssource $generationdir
+ sh cmakemod.sh $creatoolssource $generationdir
+ sh creaToolsVariables.sh $creatoolssource $generationdir $docgeneration
+ sh compilemod .sh $buildtype $creatoolssource $generationdir
# sh ctestmod.sh $creatoolsbinary $generationdir
- creatoolsdll=$generationdir/tmpCreaTools_INSTALL/creatoolsBin
- LD_LIBRARY_PATH=$creatoolssdll:$LD_LIBRARY_PATH
+# creatoolsdll=$generationdir/tmpCreaTools_INSTALL/creatoolsBin
+# LD_LIBRARY_PATH=$creatoolssdll:$LD_LIBRARY_PATH
# shutdown /s
# exit /b
-# %1 is the binary folder %2 is the binary folder crea %3 is the binaryfolder bbtk
-currentdir=`pwd`
-# set currentdir=%currentdir:\=/%
+# $1 : creaBruker
+# $2 : generationdir
+# $3 : ON/OFF (generate doc)
+
+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 creaMaracasVisu_DIR:PATH=$2/tmpCreaTools_INSTALL/creaMaracasVisuBin CMakeCache.txt
+cmake -D BUILD_bbtkGEditor_DOC:BOOL=$3 CMakeCache.txt
-cd $1
-cmake -D crea_DIR:PATH=$currentdir/tmpCreaTools_INSTALL/$2 -D BUILD_bbtkGEditor_DOC:BOOL=OFF CMakeCache.txt
-cmake -D BBTK_DIR:PATH=ùcurrentdir/tmpCreaTools_INSTALL/$3 CMakeCache.txt
-cmake -D creaMaracasVisu_DIR:PATH=$currentdir/tmpCreaTools_INSTALL/$4 CMakeCache.txt
-cmake CMakeCache.txt
cmake CMakeCache.txt
cd ..
-# %1 is the binary folder %2 is the binary folder crea %3 is the binaryfolder bbtk
-currentdir=`pwd`
-# set currentdir=%currentdir:\=/%
+# $1 : creaBruker
+# $2 : generationdir
+# $3 : ON/OFF (generate doc)
+
+binfolder=$2/tmpCreaTools_INSTALL/$1Bin
+cd $binfolder
+
+
+cmake -D crea_DIR:PATH=$currentdir$2 -D BUILD_BBTK_PACKAGE_PackRecalage:BOOL=ON -D BUILD_creaRigidRegistration_DOC:BOOL=$3 -D crea_DIR:PATH=$2/tmpCreaTools_INSTALL/creaBin CMakeCache.txt
-cd $1
-cmake -D crea_DIR:PATH=$currentdir$2 -D BUILD_BBTK_PACKAGE_PackRecalage:BOOL=ON -D BUILD_creaRigidRegistration_DOC:BOOL=OFF CMakeCache.txt
-cmake -D BBTK_DIR:PATH=$currentdir/tmpCreaTools_INSTALL/$3 CMakeCache.txt
cmake CMakeCache.txt
cmake CMakeCache.txt
cd ..