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

From KitwarePublic
Jump to navigationJump to search
(Created page with "*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 contai...")
 
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
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:
*Run the scripts of modularization:


Line 4: 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.
 
 
*Configure and build modular ITK.
  cd  <path to bin>/bin/modularITK
  ccmake  <HeadOfModuarITKTree>  (choose to build certain modules by turning their BUILD options ON)
  make
                                       
Altogether there are about 90 modules in total (not including examples and reviews).
Currently itk-common's tests are up and running on the Dashboard on several different platforms:
    http://www.cdash.org/CDash/index.php?project=Insight#ITKv4_Modularization
As we add more tests to modules we will turn those modules on for the dashboard.

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.