ITK/Release 4/Modularization/Configure ITK: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
Line 4: Line 4:
*  [[ITKGroup<xxx>]]:  Select a group of  modules. The default grouping/categorization of the modules can be found in "CMake/ITKGroup.cmake".
*  [[ITKGroup<xxx>]]:  Select a group of  modules. The default grouping/categorization of the modules can be found in "CMake/ITKGroup.cmake".
Users could change the categorization by editing this file according to their needs. The core group is turned on by default.
Users could change the categorization by editing this file according to their needs. The core group is turned on by default.
  When a group is ON, all the modules in the group and their depending modules are "enabled".
  The corresponding CMake variables " <module name>_ENABLED" for each of those modules are ON.


== Advanced mode (modules) ==
== Advanced mode (modules) ==
*  Module_<module name>:    build the module "ITK-<module name>"
*  Module_<module name>:    build the module "ITK-<module name>"
*  ITK_BUILD_ALL_MODULES:  build all the modules in the toolkit (for testing the entire toolkit, this option is often used)
*  ITK_BUILD_ALL_MODULES:  build all the modules in the toolkit (for testing the entire toolkit, this option is often used)
  When a module is ON, the module and its depending modules are "enabled".
  The corresponding CMake variables " <module name>_ENABLED" are ON.

Revision as of 15:09, 4 April 2011

Key CMake options created for modular ITK

Main mode (groups)

  • [[ITKGroup<xxx>]]: Select a group of modules. The default grouping/categorization of the modules can be found in "CMake/ITKGroup.cmake".

Users could change the categorization by editing this file according to their needs. The core group is turned on by default.

 When a group is ON, all the modules in the group and their depending modules are "enabled".
 The corresponding CMake variables " <module name>_ENABLED" for each of those modules are ON. 

Advanced mode (modules)

  • Module_<module name>: build the module "ITK-<module name>"
  • ITK_BUILD_ALL_MODULES: build all the modules in the toolkit (for testing the entire toolkit, this option is often used)
 When a module is ON, the module and its depending modules are "enabled".
 The corresponding CMake variables " <module name>_ENABLED" are ON.