From: Nabil Ghodbane Date: Fri, 2 Dec 2022 12:52:40 +0000 (+0100) Subject: support PDF for ALAMOS ParaView 5.9.0 X-Git-Tag: V9_11_0~167 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=acb0dce34457ea004e73b360ad2461e257403fc2;p=tools%2Fsat_salome.git support PDF for ALAMOS ParaView 5.9.0 --- diff --git a/products/compil_scripts/ParaView-5.9.0.bat b/products/compil_scripts/ParaView-5.9.0.bat index 9ca556e..f1ee5d8 100644 --- a/products/compil_scripts/ParaView-5.9.0.bat +++ b/products/compil_scripts/ParaView-5.9.0.bat @@ -165,6 +165,12 @@ set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DCATALYST_BUILD_STUB_IMPLEMENTATION:BOOL=ON REM allow additional plugins set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DVTK_ALL_NEW_OBJECT_FACTORY:BOOL=ON +if "%SALOME_APPLICATION_NAME%" == ALAMOS ( + echo. + echo INFO: enable PDF support... + set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DVTK_MODULE_ENABLE_VTK_PythonContext2D=YES -DVTK_MODULE_ENABLE_VTK_IOExportPDF=YES +) + set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DCMAKE_GENERATOR="Visual Studio 15 2017 Win64" cd %BUILD_DIR%