[CMake] Building VTK, how to install it?, how does CMAKE_INSTALL_PREFIX work?

William A. Hoffman billlist at nycap.rr.com
Thu Dec 15 14:18:19 EST 2005


At 12:55 PM 12/15/2005, Sean McBride wrote:
>Hi all,
>
>It's been a while since I've built VTK.  An old build I did months ago
>has a folder called "InstallTest" which contains 'bin', 'include', and
>'lib' folders containing the public headers and built libraries, which
>is great.  However, the builds I am making these days don't have this
>folder, and I want it back. :)
>
>My cmake script has this line:
>
>CMAKE_INSTALL_PREFIX:PATH=$ENV{HOME}/kitware/${CTEST_BINARY_NAME}/InstallTest
>
>and I build with this line:
>
>ctest -S nightly_build_vtk_cocoa.cmake -V
>
>But I'm obviously missing something to get it generated.  I'm using
>cmake 2.2.3.


I think this may be a question for the VTK list.  Seems like you are depending
on the InstallTest to do your install.  Normally it would be:

cmake; make; make install

The test may have changed, I am not sure.

-Bill



More information about the CMake mailing list