[vtk-developers] Remote Modules

Bill Lorensen bill.lorensen at gmail.com
Fri Jun 13 16:19:45 EDT 2014


Folks,

ITK has a great mechanism to bring in external contributions. They are
called Remote Modules. In a nut shell, you provide a small description
of where to get the remote itk modules. For example:
#
# ITK WikiExamples
#  This remote module require a VTK build
#  The following CMake variable must be set for the ITK build
#
# Check for requires cmake variables

itk_fetch_module(WikiExamples
  "A collection of examples that illustrate how to use ITK."
  GIT_REPOSITORY
https://github.com/InsightSoftwareConsortium/ITKWikiExamples.git
# June 13, 2014
  GIT_TAG b14135585268b26a856becbe642de25a08359c04
  )

Then. cmake discovers the module and its itk-module.cmake file and
treats the contributon as a first class module (if turned on).

The mechanism is described here:
http://www.itk.org/Wiki/ITK/Policy_and_Procedures_for_Adding_Remote_Modules

The knowledge base for this resides at Kitware. I suspect that
something similar could be added to VTK.

Bill


More information about the vtk-developers mailing list