ITK/Release 4/Modularization/Configure and build ITK: Difference between revisions
From KitwarePublic
< ITK | Release 4 | Modularization
Jump to navigationJump to search
Line 1: | Line 1: | ||
= | = CMake options to customizing ITK modules = | ||
== | == Default mode == | ||
* '''ITK_BUILD_ALL_MODULES''': request to build all the default modules in the toolkit, by default this option is ON. | |||
All non-default modules have "EXCLUCDE_FROM_ALL" tags in their module definition files(itk-module.cmake), including the remote modules (source | |||
code located outside of the main ITK repository) and modules who depend on external third-party libraries, such as vtkGlue, BridgeOpenCV, BridgeVXL, etc. | |||
== Group mode == | |||
* '''ITKGroup<xxx>''': select a group of modules. The default grouping/categorization of the modules can be found in "ITK/CMake/ITKGroup.cmake". The core group is turned on by default. | * '''ITKGroup<xxx>''': select a group of modules. The default grouping/categorization of the modules can be found in "ITK/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 | When a group is ON, all the modules in the group and their depending modules are enabled as well. | ||
== Advanced mode (modules) == | == Advanced mode (modules) == | ||
* '''Module_<xxx>''': request to build a module. | * '''Module_<xxx>''': request to build a module. | ||
Revision as of 20:13, 3 September 2013
CMake options to customizing ITK modules
Default mode
- ITK_BUILD_ALL_MODULES: request to build all the default modules in the toolkit, by default this option is ON.
All non-default modules have "EXCLUCDE_FROM_ALL" tags in their module definition files(itk-module.cmake), including the remote modules (source code located outside of the main ITK repository) and modules who depend on external third-party libraries, such as vtkGlue, BridgeOpenCV, BridgeVXL, etc.
Group mode
- ITKGroup<xxx>: select a group of modules. The default grouping/categorization of the modules can be found in "ITK/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 as well.
Advanced mode (modules)
- Module_<xxx>: request to build a module.