]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
gmsh: ensure that BUILD_DIR is cleaned and created
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 15 Nov 2022 15:34:00 +0000 (16:34 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 15 Nov 2022 15:34:00 +0000 (16:34 +0100)
products/compil_scripts/gmsh-4.10.3.sh
products/compil_scripts/gmsh-4.8.4.sh

index 3e9e822f0c225c7e1aaa4aee5e4816e2321ead19..d5aa9e64b28a96326c8ab7b9e876fee0c8053e6b 100755 (executable)
@@ -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"
index 0bed6cb9d409002eac47430b06864a39bd393771..296532041e428887ec0485125ec40fcd2e4bb2c2 100755 (executable)
@@ -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"