Vtkski development: Difference between revisions

From bone.wiki
Jump to navigation Jump to search
Line 14: Line 14:


The most important cmake variable is <tt>VTK_DIR</tt>.  If you intend to also build the paraview plugins, then you must build vtkski against the internal version of VTK inside the paraview build directory.  (See [[Paraview development]] if you need to install ParaView).  As an example, on my system I set <tt>VTK_DIR</tt> to <tt>/home/eric/source/paraview-3.6.1/build/VTK</tt>.
The most important cmake variable is <tt>VTK_DIR</tt>.  If you intend to also build the paraview plugins, then you must build vtkski against the internal version of VTK inside the paraview build directory.  (See [[Paraview development]] if you need to install ParaView).  As an example, on my system I set <tt>VTK_DIR</tt> to <tt>/home/eric/source/paraview-3.6.1/build/VTK</tt>.
===Building Doxygen documentation===
To build the Doxygen documentation, set the cmake variable BUILD_DOCUMENTATION to ON.  This variable is marked as advanced.  So far, building documentation has only been tested on Linux.
==Documentation for vtkski==
On-line documentation for vtkski... coming soon.  For now, you can build the Doxygen documentation yourself.

Revision as of 15:53, 2 December 2009

Installation

Get the sources from the subversion repository.

svn checkout svn://splatter.kin.ucalgary.ca/trunk/vtkski

See the section on svn for more info: Subversion (SVN)

From the vtkski project directory, create a build directory and use cmake to configure the build:

mkdir build
cd build
cmake-gui ..

The most important cmake variable is VTK_DIR. If you intend to also build the paraview plugins, then you must build vtkski against the internal version of VTK inside the paraview build directory. (See Paraview development if you need to install ParaView). As an example, on my system I set VTK_DIR to /home/eric/source/paraview-3.6.1/build/VTK.

Building Doxygen documentation

To build the Doxygen documentation, set the cmake variable BUILD_DOCUMENTATION to ON. This variable is marked as advanced. So far, building documentation has only been tested on Linux.

Documentation for vtkski

On-line documentation for vtkski... coming soon. For now, you can build the Doxygen documentation yourself.