]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
paraview: switch on CATALYST
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 10 Mar 2022 09:41:41 +0000 (10:41 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 10 Mar 2022 09:41:41 +0000 (10:41 +0100)
products/compil_scripts/ParaView-5.9.0.sh

index c9942e0165b0a551a5150da8066bda1df18bd790..a56533082dd409d06bcbab8b7b9118c713d91d18 100755 (executable)
@@ -30,6 +30,16 @@ CMAKE_OPTIONS+=" -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON"
 ### OpenGL settings
 CMAKE_OPTIONS+=" -DOpenGL_GL_PREFERENCE:STRING=LEGACY"
 CMAKE_OPTIONS+=" -DCATALYST_BUILD_STUB_IMPLEMENTATION:BOOL=ON"
+if [ $VERSION == "V9_7_0" ] || [ $VERSION == "V9_8_0" ]; then
+    echo "INFO: skipping CATALYST..."
+else
+    echo "INFO: setting CATALYST"
+    CMAKE_OPTIONS+=" -DPARAVIEW_BUILD_PLUGIN_CatalystScriptGeneratorPlugin=ON"
+    CMAKE_OPTIONS+=" -DPARAVIEW_AUTOLOAD_PLUGIN_CatalystScriptGeneratorPlugin=ON"
+    CMAKE_OPTIONS+=" -DPARAVIEW_BUILD_CATALYST_ADAPTORS=ON"
+    CMAKE_OPTIONS+=" -DUSE_CATALYST:BOOL=ON"
+    CMAKE_OPTIONS+=" -DPARAVIEW_ENABLE_CATALYST=ON"
+fi
 ### spns #20550 - Headless mode
 if [ -n "$PARAVIEW_HEADLESS_MODE" ]
 then