From: Nabil Ghodbane Date: Tue, 15 Nov 2022 15:34:00 +0000 (+0100) Subject: gmsh: ensure that BUILD_DIR is cleaned and created X-Git-Tag: V9_11_0~185 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2699518473155e66b8439936a9510ecb6baa1ffc;p=tools%2Fsat_salome.git gmsh: ensure that BUILD_DIR is cleaned and created --- diff --git a/products/compil_scripts/gmsh-4.10.3.sh b/products/compil_scripts/gmsh-4.10.3.sh index 3e9e822..d5aa9e6 100755 --- a/products/compil_scripts/gmsh-4.10.3.sh +++ b/products/compil_scripts/gmsh-4.10.3.sh @@ -4,9 +4,11 @@ echo "########################################################################## echo "gmsh" $VERSION echo "##########################################################################" +rm -rf $BUILD_DIR +mkdir $BUILD_DIR +cd $BUILD_DIR - -CMAKE_OPTIONS="" +CMAKE_OPTIONS= # common settings CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_INSTALL_PREFIX=${PRODUCT_INSTALL}" CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_VERBOSE_MAKEFILE=ON" diff --git a/products/compil_scripts/gmsh-4.8.4.sh b/products/compil_scripts/gmsh-4.8.4.sh index 0bed6cb..2965320 100755 --- a/products/compil_scripts/gmsh-4.8.4.sh +++ b/products/compil_scripts/gmsh-4.8.4.sh @@ -4,9 +4,11 @@ echo "########################################################################## echo "gmsh" $VERSION echo "##########################################################################" +rm -rf $BUILD_DIR +mkdir $BUILD_DIR +cd $BUILD_DIR - -CMAKE_OPTIONS="" +CMAKE_OPTIONS= # common settings CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_INSTALL_PREFIX=${PRODUCT_INSTALL}" CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_VERBOSE_MAKEFILE=ON"