ITK/Release 4/Modularization/ Add a module: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
Line 3: Line 3:
= Choose a group for your module =
= Choose a group for your module =


Add your module into  "ITK/CMake/ITKGroups.cmake" to be include in ITK.
Add your module into  "ITK/CMake/ITKGroups.cmake" under a specific group.
 


= Organize the source tree =
= Organize the source tree =

Revision as of 15:12, 19 June 2011

Choose a group for your module

Add your module into "ITK/CMake/ITKGroups.cmake" under a specific group.

Organize the source tree

Modules are located under the directory\

 ITK/Modules/<GroupName>/


In each module, there are subdirectories,

  • "include
  • "src"
  • "test"

where the headers, source code and testing code are located, respectively.

The CMake components that are in need for "ITK-FOO" module in the Filtering group:


Examples

  • All modules in ITK.
  • Adding a moule is easy!
    • Arnaud did it without instructions:[1] added "ITK-FastMarching" module to ITK.