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

From KitwarePublic
Jump to navigationJump to search
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
===  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.
You could also get a up-to-date version of a modularized ITK by running the modularization scripts as follows.


Line 13: Line 6:
the list of the source codes that are moved from monolithic ITK to modularized ITK.
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:
Run the script customRun.sh with the input parameter of where you want to output the modularized ITK:
   cd  <ITK_SOURCE_DIR>/Modularization
   cd  <ITK_SOURCE_DIR>/Modularization
   ./customRun.sh  <HeadOfModuarITKTree>
   ./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.
The script will first download the supporting utilities modules from the [[modularITKSupport repository]] to <HeadOfModuarITKTree>, and then copy source files from the monolithic ITK to <HeadOfModuarITKTree> according to the manifest file. 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

Latest revision as of 16:00, 9 December 2011

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 where you want to output the modularized ITK:

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

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