VTK/Building/Linux: Difference between revisions

From KitwarePublic
< VTK‎ | Building
Jump to navigationJump to search
Line 4: Line 4:


== Configure ==
== Configure ==
  mkdir VTKBin
  mkdir VTK-build
  cd VTKBin
  cd VTK-build
  ccmake ../VTK
  ccmake ../VTK


Set any options you would like using the curses interface.
Set any options you would like using the curses interface. Alternatively, set the options at the command line.
 
mkdir VTK-Release-build
cd VTK-Release-build
cmake -DCMAKE_BUILD_TYPE:STRING=Release /path/to/VTK


== Build ==
== Build ==
  make
  make

Revision as of 19:17, 28 April 2014

Download

Download the source code from the VTK Download page or Clone with Git

git clone git://vtk.org/VTK.git VTK

Configure

mkdir VTK-build
cd VTK-build
ccmake ../VTK

Set any options you would like using the curses interface. Alternatively, set the options at the command line.

mkdir VTK-Release-build
cd VTK-Release-build
cmake -DCMAKE_BUILD_TYPE:STRING=Release /path/to/VTK

Build

make