From: Nabil Ghodbane Date: Thu, 1 Dec 2022 11:31:34 +0000 (+0100) Subject: ALAMOS PDF export feature X-Git-Tag: V9_11_0~169 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ea3010355c7534d7cc54240179d212409dd41455;p=tools%2Fsat_salome.git ALAMOS PDF export feature --- diff --git a/products/compil_scripts/ParaView-5.11.0.sh b/products/compil_scripts/ParaView-5.11.0.sh index ac03948..883cf48 100755 --- a/products/compil_scripts/ParaView-5.11.0.sh +++ b/products/compil_scripts/ParaView-5.11.0.sh @@ -311,6 +311,12 @@ CMAKE_OPTIONS+=" -DPARAVIEW_PLUGIN_AUTOLOAD_SurfaceLIC=ON" CMAKE_OPTIONS+=" -DPARAVIEW_PLUGIN_AUTOLOAD_ThickenLayeredCells=ON" CMAKE_OPTIONS+=" -DPARAVIEW_PLUGIN_AUTOLOAD_VTKmFilters=ON" +# ALAMOS build uses PDF export feature. +if [ "${SALOME_APPLICATION_NAME}" == "ALAMOS" ]; then + echo "WARNING: Assumming application is ALAMOS, switching on PDF export..." + CMAKE_OPTIONS+=" -DVTK_MODULE_ENABLE_VTK_PythonContext2D=YES" + CMAKE_OPTIONS+=" -DVTK_MODULE_ENABLE_VTK_IOExportPDF=YES" +fi echo echo "*** cmake" ${CMAKE_OPTIONS}