Build Directions: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
mNo edit summary
Line 1: Line 1:
A tarball of the Catalyst source can be downloaded here [[http://catalyst.kitware.com/replace_link]] or a source tree can be generated from a ParaView source tree using the steps describe in [[]]
A tarball of the Catalyst source can be downloaded from the [http://catalyst.kitware.com/replace_link Catalyst Website] or a source tree can be generated from a ParaView source tree using the steps describe in [[#Generating Catalyst Source Tree|Generating Catalyst Source Tree]].
The Catalyst source tree contain a shell script called cmake.sh that contains the appropriate cmake command to configure Catalyst.
The Catalyst source tree contains a shell script called cmake.sh that provides the appropriate cmake command to configure Catalyst. To configure Catalyst the following command should be run:
 
<pre>
cd <catalyst_build_dir>
<catalyst_source_dir>/cmake.sh <catalyst_source_dir>
</pre>
 
Where <catalyst_build_dir> is the target build directory for Catalyst and <catalyst_source_dir> is the source tree. Note other CMake options can be passed to the script, for example a generator could be specified using the -G option.
 
Once the cmake.sh script has been run, Catalyst can be built by running the following command (assuming the default generator is used):
 
<pre>
cd <catalyst_build_dir>
make
</pre>
Where <catalyst_build_dir> is the target build directory for Catalyst.

Revision as of 18:40, 8 November 2012

A tarball of the Catalyst source can be downloaded from the Catalyst Website or a source tree can be generated from a ParaView source tree using the steps describe in Generating Catalyst Source Tree. The Catalyst source tree contains a shell script called cmake.sh that provides the appropriate cmake command to configure Catalyst. To configure Catalyst the following command should be run:

cd <catalyst_build_dir>
<catalyst_source_dir>/cmake.sh <catalyst_source_dir> 

Where <catalyst_build_dir> is the target build directory for Catalyst and <catalyst_source_dir> is the source tree. Note other CMake options can be passed to the script, for example a generator could be specified using the -G option.

Once the cmake.sh script has been run, Catalyst can be built by running the following command (assuming the default generator is used):

cd <catalyst_build_dir>
make

Where <catalyst_build_dir> is the target build directory for Catalyst.