ITK/Release 4/Modularization/ Add a module
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,
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:
- If this module generates a library or libraries (has .cxx source files): Modules/Filtering/Foo/src/CMakeLists.txt
- All modules in ITK.
- Adding a moule is easy!
- Arnaud did it without instructions: added "ITK-FastMarching" module to ITK.