]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
spns #24377: openturns + ParaView - ParaView build
authornghodban <Nabil.Ghodbane@c-s.fr>
Mon, 13 Sep 2021 22:12:02 +0000 (00:12 +0200)
committernghodban <Nabil.Ghodbane@c-s.fr>
Mon, 13 Sep 2021 22:12:02 +0000 (00:12 +0200)
products/compil_scripts/ParaView-5.9.0.sh

index 019d22be2981e5665122977b12aec5414a9eb579..21389556992435eaf32a2726ad17147584c92dcf 100755 (executable)
@@ -212,6 +212,13 @@ CMAKE_OPTIONS="${CMAKE_OPTIONS} -DPARAVIEW_PLUGIN_ENABLE_pvblot:BOOL=OFF"
 # allow additional plugins
 CMAKE_OPTIONS="${CMAKE_OPTIONS} -DVTK_ALL_NEW_OBJECT_FACTORY:BOOL=ON"
 
+# Openturns:
+if [-n "$OPENTURNS_ROOT_DIR" ]
+then
+    echo "INFO: Adding OpenTurns support..."
+    CMAKE_OPTIONS="${CMAKE_OPTIONS} -DPARAVIEW_ENABLE_OPENTURNS=ON"
+    CMAKE_OPTIONS="${CMAKE_OPTIONS} -DOpenTURNS_DIR=$OPENTURNS_ROOT_DIR/cmake/openturns"
+fi
 echo
 echo "*** cmake" ${CMAKE_OPTIONS}
 cmake ${CMAKE_OPTIONS} $SOURCE_DIR