Catalyst Build: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 1: Line 1:
== Generating Catalyst Source Tree ==
== Generating Catalyst Source Tree ==
The Catalyst source tree is generated from ParaView using a Python script located in the ParaView source tree ([http://http://paraview.org/gitweb?p=ParaView.git;a=blob;f=Catayst/catalyze.py] Catalyst/catalyze.py). The script takes a JSON manifest file (manifest.json) that describes what files are copied and transform from ParaView to produce the Catalyst source tree. For example the following segment of JSON indicates that the VTK module vtkCommonMath should be included (excluding the Testing directory) and it should be Python wrapped:
The Catalyst source tree is generated from ParaView using a Python script located in the ParaView source tree ([http://http://paraview.org/gitweb?p=ParaView.git;a=blob;f=Catayst/catalyze.py] Catalyst/catalyze.py). The script takes a JSON manifest file (manifest.json) that describes what files are copied and transformed from ParaView to produce the Catalyst source tree. For example the following segment of JSON indicates that the VTK module vtkCommonMath should be included (excluding the Testing directory) and it should be Python wrapped:


<source lang="javascript">
<source lang="javascript">

Revision as of 18:54, 7 November 2012

Generating Catalyst Source Tree

The Catalyst source tree is generated from ParaView using a Python script located in the ParaView source tree ([1] Catalyst/catalyze.py). The script takes a JSON manifest file (manifest.json) that describes what files are copied and transformed from ParaView to produce the Catalyst source tree. For example the following segment of JSON indicates that the VTK module vtkCommonMath should be included (excluding the Testing directory) and it should be Python wrapped:

<source lang="javascript">

   {
     "name":"vtkCommonMath",
     "path":"VTK/Common/Math",
     "exclude":[
       {
         "path":"Testing"
       }
     ],
     "pythonwrap":true
   }

</source>

To generate the source tree for the "Base" Catalyst edition. The following command should be run:

cd <paraview_repo>
python catalyze.py -i Editions/Base/ -o <catalyst_output>

Where <paraview_repo> is the root directory of the ParaView source tree and <catalyst_output> is the target output directory.

Build Directions