ITK/Release 4/Modularization/ Add a module
< ITK | Release 4 | ModularizationJump to navigationJump to search
Revision as of 15:08, 20 July 2011 by Matt.mccormick (talk | contribs) (→Organize the source tree)
Choose a group for your module
Add your module into "ITK/CMake/ITKGroups.cmake" under a specific group. During the CMake step, CMake will pick up information from this file for configuration.
Organize the source tree
Modules are located under the directory\
In each module, there are subdirectories,
- "include": header files (.h) and template source code (.hxx)
- "test": testing source code (.cxx)
- "src": source code (.cxx,.c)
The CMake components that are in need for "ITKFOO" module in the Filtering group are :
If this module generates a library or libraries (has .cxx source files), the source CMakeLists.txt is needed:
- All modules in ITK.
- Adding a moule is easy!
- Arnaud did it without instructions: added "ITK-FastMarching" module to ITK.