Commit ecfdbb6c authored by Aron Helser's avatar Aron Helser Committed by Kitware Robot
Browse files

Merge topic 'update_vtkonly'

ca4ac436

 Allow vtk-only with python turned off.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel's avatarBen Boeckel <ben.boeckel@kitware.com>
Merge-request: !722
parents e9da5ad8 ca4ac436
Pipeline #211070 failed with stages
......@@ -15,6 +15,11 @@ if (libarchive_enabled)
set(vtkonly_libarchive_req YES)
endif ()
set(vtkonly_python_req NO)
if (python_enabled)
set(vtkonly_python_req YES)
endif ()
superbuild_add_project(vtkonly
DEBUGGABLE
DEPENDS
......@@ -41,7 +46,7 @@ superbuild_add_project(vtkonly
-DVTK_MODULE_ENABLE_VTK_IOParallelExodus:STRING=YES
-DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2:STRING=YES
-DVTK_MODULE_ENABLE_VTK_RenderingGL2PSOpenGL2:STRING=YES
-DVTK_MODULE_ENABLE_VTK_RenderingMatplotlib:STRING=YES
-DVTK_MODULE_ENABLE_VTK_RenderingMatplotlib:STRING=${vtkonly_python_req}
-DVTK_MODULE_ENABLE_VTK_RenderingQt:STRING=${vtkonly_qt_req}
-DVTK_MODULE_ENABLE_VTK_TestingRendering:STRING=YES
-DVTK_MODULE_ENABLE_VTK_ViewsInfovis:STRING=YES
......@@ -54,7 +59,7 @@ superbuild_add_project(vtkonly
-DVTK_MODULE_USE_EXTERNAL_VTK_png:BOOL=${png_enabled}
-DVTK_MODULE_USE_EXTERNAL_VTK_zlib:BOOL=${zlib_enabled}
-DVTK_GROUP_ENABLE_Web:BOOL=YES
-DVTK_GROUP_ENABLE_Web:BOOL=${vtkonly_python_req}
-DCMAKE_INSTALL_NAME_DIR:STRING=<INSTALL_DIR>/lib
......
......@@ -41,10 +41,16 @@ superbuild_set_selectable_source(paraview
SOURCE_DIR "source-paraview")
# VTK v9.0.1
# TODO: add option to pull vtk from git
superbuild_set_revision(vtkonly
GIT_REPOSITORY "https://gitlab.kitware.com/vtk/vtk.git"
GIT_TAG "v9.0.1")
superbuild_set_selectable_source(vtkonly
SELECT release PROMOTE DEFAULT
GIT_REPOSITORY "https://gitlab.kitware.com/vtk/vtk.git"
GIT_TAG "v9.0.1"
SELECT git CUSTOMIZABLE
GIT_REPOSITORY "https://gitlab.kitware.com/vtk/vtk.git"
GIT_TAG "origin/master"
GIT_SHALLOW "${SUPERBUILD_SHALLOW_CLONES}"
SELECT source CUSTOMIZABLE
SOURCE_DIR "source-vtkonly")
superbuild_set_selectable_source(cmb
SELECT 6.3.0
......
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