ITK/Release 4/Modularization/Add an external module (external module): Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
Line 1: Line 1:
An external module is distributed outside the ITK main repository, but it could be built into ITK as a module once downloaded into the local copy of ITK source tree.
An External Module is distributed outside the ITK main repository, but it could be built into ITK as a module once downloaded into the local copy of ITK source tree.


The organization of an external module should be the same as an internal module:  
The organization of an External Module should be the same as an Internal Module:  
[[ITK_Release_4/Modularization/ Add a module|Add a module(internal module)]]
[[ITK_Release_4/Modularization/ Add a module|Add a module (Internal Module)]]


To build an external module, users could download and put it into a local copy of ITK source tree under: "ITK/Modules/External/". Then simply rerun the CMake step to configure the new external module together with other enabled ITK modules.
To build an External Module, users download it into a local copy of ITK source tree under: ''ITK/Modules/External/''. Then simply rerun the CMake step to configure the new External Module together with other enabled ITK modules.


An example is demonstrated in the Lesion Sizing Toolkit:[http://public.kitware.com/LesionSizingKit/index.php/Users/Build_LST_as_ITK_module Lesion Sizing Toolkit Wiki]
An example is demonstrated in the Lesion Sizing Toolkit: [http://public.kitware.com/LesionSizingKit/index.php/Users/Build_LST_as_ITK_module Lesion Sizing Toolkit Wiki]
 
Once you have your External Module, you can make it available as a [[ITK/Policy_and_Procedures_for_Adding_Remote_Modules| Remote Module]] So it has broader exposure to the ITK community.

Revision as of 12:56, 14 July 2012

An External Module is distributed outside the ITK main repository, but it could be built into ITK as a module once downloaded into the local copy of ITK source tree.

The organization of an External Module should be the same as an Internal Module: Add a module (Internal Module)

To build an External Module, users download it into a local copy of ITK source tree under: ITK/Modules/External/. Then simply rerun the CMake step to configure the new External Module together with other enabled ITK modules.

An example is demonstrated in the Lesion Sizing Toolkit: Lesion Sizing Toolkit Wiki

Once you have your External Module, you can make it available as a Remote Module So it has broader exposure to the ITK community.