ITK/Release 4/Modularization/Modulizer

From KitwarePublic
< ITK‎ | Release 4‎ | Modularization
Revision as of 18:08, 6 February 2011 by Xiaoxiao (talk | contribs)
Jump to navigationJump to search

Download a modularized ITK copy

We have put up a in-progress modularized ITK (produced at Feb 1st ) in the public git repository:

 http://itk.org/tmp/modularITK.git 

It is a good start point to investigate the new directory structures and the new CMake packaging mechanism in modularized ITK.


Run the modularization yourself

You could also get a up-to-date version of a modularized ITK by running the modularization scripts as follows.

  • Run the scripts of modularization:

The scripts are located in the monolithic/current ITK repository:<ITK_SOURCE_DIR>/Modularization. The "Manifest.txt" in this directory contains the list of the source codes that are moved from monolithic ITK to modularized ITK.

Run the script customRun.sh with the input parameter of the output directory name of the modularized ITK:

 cd  <ITK_SOURCE_DIR>/Modularization
 ./customRun.sh  <HeadOfModuarITKTree>

The script will first download the supporting modules and cmake packaging files from the modularITKSupport repository to <HeadOfModuarITKTree>, and then copy source files from the monolithic ITK to <HeadOfModuarITKTree> according to the manifest file (Manifest.txt). After running the scripts, <HeadOfModuarITKTree> contains the modularized ITK.


Build modular ITK =

 cd   <path to bin>/bin/modularITK
 ccmake   <HeadOfModuarITKTree>  (choose to build certain groups of modules by turning their options ON)
 make