]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
support PDF for ALAMOS ParaView 5.9.0
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Fri, 2 Dec 2022 12:52:40 +0000 (13:52 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Fri, 2 Dec 2022 12:52:40 +0000 (13:52 +0100)
products/compil_scripts/ParaView-5.9.0.bat

index 9ca556e69db9b797f9ec13fc22c7f998f90c49e6..f1ee5d89cc7d298057efc2c0d85e90010150a3bc 100644 (file)
@@ -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%