Commit aebb06d3 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

expose `PARAVIEW_BUILD_EDITION` settings

Exposing the `PARAVIEW_BUILD_EDITION` setting and updating docs.
parent f87438b3
Pipeline #157260 failed with stage
......@@ -297,6 +297,23 @@ The following flags affect ParaView directly:
pass to ParaView's configure step. This can be used to set CMake variables
for the build that are otherwise not exposed in the superbuild itself.
#### ParaView editions
A typical ParaView build includes several modules and dependencies. While these
are necessary for a fully functional application, there are cases (e.g. in situ
use-cases) where a build with limited set of features is adequate. ParaView build supports
this using the `PARAVIEW_BUILD_EDITION` setting. Supported values for this setting are:
* `CORE`: Build modules necessary for core ParaView functionality.
This does not include rendering.
* `RENDERING`: Build modules necessary for supporting rendering including views
and representations. This includes everything in `CORE`.
* `CATALYST`: Build all modules necessary for in situ use cases without
rendering and optional components like NetCDF- and HDF5-based readers and
writers.
* `CATALYST_RENDERING`: Same as `CATALYST` but with rendering supported added.
* `CANONICAL` (default): Build modules necessary for standard ParaView build.
### Packaging Variables
* `PARAVIEW_PACKAGE_SUFFIX` (default based on selected options): The suffix
......
......@@ -2,6 +2,12 @@ set(PARAVIEW_EXTRA_CMAKE_ARGUMENTS ""
CACHE STRING "Extra arguments to be passed to ParaView when configuring.")
mark_as_advanced(PARAVIEW_EXTRA_CMAKE_ARGUMENTS)
set(PARAVIEW_BUILD_EDITION "CANONICAL"
CACHE STRING "Build selected ParaView Edition")
set_property(CACHE PARAVIEW_BUILD_EDITION
PROPERTY
STRINGS "CORE;RENDERING;CATALYST;CATALYST_RENDERING;CANONICAL")
option(PARAVIEW_DEFAULT_SYSTEM_GL "Default to using the system OpenGL" OFF)
set (paraview_extra_cmake_options)
......@@ -159,6 +165,7 @@ superbuild_add_project(paraview
-DPARAVIEW_BUILD_LEGACY_REMOVE:BOOL=ON
-DPARAVIEW_BUILD_SHARED_LIBS:BOOL=${paraview_build_shared_libs}
-DPARAVIEW_BUILD_TESTING:BOOL=OFF
-DPARAVIEW_BUILD_EDITION:STRING=${PARAVIEW_BUILD_EDITION}
-DPARAVIEW_ENABLE_ADIOS2:BOOL=${adios2_enabled}
-DPARAVIEW_ENABLE_COSMOTOOLS:BOOL=${cosmotools_enabled}
-DPARAVIEW_ENABLE_FFMPEG:BOOL=${ffmpeg_enabled}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment