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

From KitwarePublic
Jump to navigationJump to search
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
= Key CMake options created for modular ITK =
= Key CMake options created for modular ITK =


== Main mode ==
== Main mode (groups) ==
[[ITKGroup<xxx>]]Select a group of modules. The default grouping 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". The core group is turned on by default.
Users could change the categorization by editing this file according to their needs.


== Advanced mode ==
  When a group is ON, all the modules in the group and their depending modules are "enabled".
*  Module_<module name> : turn the switch on to build the corresponding module
  The corresponding CMake variables " <module name>_ENABLED" for each of those modules are ON.
*  ITK_BUILD_ALL_MODULES:  turn on all the modules (in all nightly dashboard script, this option is turned on)
  Users could change the categorization by editing "CMake/ITKGroup.cmake" according to their needs.
 
== Advanced mode (modules) ==
'''Module_<xxx>''':   build a module.
'''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.

Latest revision as of 16:00, 9 December 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". 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.
 Users could change the categorization by editing "CMake/ITKGroup.cmake" according to their needs.

Advanced mode (modules)

  • Module_<xxx>: build a module.
  • 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.