Skip to content
Snippets Groups Projects
Commit 2ce12ffe authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot
Browse files

Merge topic 'no-remote-flag' into release


a914e33a cmake: add a flag for building remote modules

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Acked-by: default avatarT.J. Corona <tj.corona@kitware.com>
Merge-request: !6914
parents 1470226e a914e33a
No related branches found
No related tags found
No related merge requests found
......@@ -229,7 +229,6 @@ set(vtk_source_directories
"${CMAKE_CURRENT_SOURCE_DIR}/Interaction"
"${CMAKE_CURRENT_SOURCE_DIR}/IO"
"${CMAKE_CURRENT_SOURCE_DIR}/Parallel"
"${CMAKE_CURRENT_SOURCE_DIR}/Remote"
"${CMAKE_CURRENT_SOURCE_DIR}/Rendering"
"${CMAKE_CURRENT_SOURCE_DIR}/Testing"
"${CMAKE_CURRENT_SOURCE_DIR}/ThirdParty"
......@@ -237,6 +236,18 @@ set(vtk_source_directories
"${CMAKE_CURRENT_SOURCE_DIR}/Views"
"${CMAKE_CURRENT_SOURCE_DIR}/Web"
"${CMAKE_CURRENT_SOURCE_DIR}/Wrapping")
set(remote_default ON)
if (VTK_WHEEL_BUILD)
set(remote_default OFF)
endif ()
option(VTK_ENABLE_REMOTE_MODULES "Enable remote modules" ON)
mark_as_advanced(VTK_ENABLE_REMOTE_MODULES)
if (VTK_ENABLE_REMOTE_MODULES)
list(APPEND vtk_source_directories
"${CMAKE_CURRENT_SOURCE_DIR}/Remote")
endif ()
vtk_module_find_modules(vtk_module_files ${vtk_source_directories})
vtk_module_find_kits(vtk_kit_files ${vtk_source_directories})
......
......@@ -176,6 +176,9 @@ More advanced options:
documentation using Doxygen.
* `VTK_BUILD_ALL_MODULES` (default `OFF`): If set, VTK will enable all
modules not disabled by other features.
* `VTK_ENABLE_REMOTE_MODULES` (default `ON`): If set, VTK will try to build
remote modules (the `Remote` directory). If unset, no remote modules will
build.
* `VTK_USE_EXTERNAL` (default `OFF`): Whether to prefer external third
party libraries or the versions VTK's source contains.
* `VTK_VERSIONED_INSTALL` (default `ON`): Whether to add version numbers to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment