CMake buildsystem for externally building any built-in or remote VTK module outside of the VTK source tree.
Selected options specific to this project. For a complete list of options, inspect the CMakeLists.txt and check documentation specific to CMake and VTK.
| Name | Description | Required |
|---|---|---|
VTK_MODULE_SOURCE_DIR |
Path to directory containing a vtk.module file. | ✔️ |
VTK_MODULE_NAME |
Name of the module specified after VTK::. |
✔️ |
VTK_MODULE_CMAKE_MODULE_PATH |
Optional path to prepend to CMAKE_MODULE_PATH. |
|
VTK_KIT_FILEPATH |
Optional path to the vtk.kit file associated with the module. | |
<PackageName>_FIND_PACKAGE_VARS |
List of variables expected by vtk_module_find_package(<PackageName>). Each variables will be configured into vtk<vtk_module_name>-config.cmake. |
|
VTK_BUILD_TESTING |
Build module testing directories. Default is OFF |
|
VTK_MODULE_SUPERBUILD |
Build dependency listed in VTK_MODULE_EXTERNAL_PROJECT_DEPENDENCIES first. Default is OFF. |
|
VTK_MODULE_EXTERNAL_PROJECT_DEPENDENCIES |
List of direct external project dependencies. | ✔️ (*) |
VTK_MODULE_EXTERNAL_PROJECT_CMAKE_CACHE_ARGS |
Additional list of options to associate with main project. | |
VTK_MODULE_PYTHON_MODULE_DESTINATION |
Optional location for installing VTK modules. Ignored when VTK_WHEEL_BUILD is ON |
(*): Only if VTK_MODULE_SUPERBUILD is ON.
It is covered by the Apache License, Version 2.0: