[vtkusers] How to build with Vtk as an external project?

Bill Lorensen bill.lorensen at gmail.com
Mon Jul 1 11:35:57 EDT 2013


The ITK wiki examples provide a superbuild capability. Look here:
http://gitorious.org/itkwikiexamples/itkwikiexamples/trees/master/Superbuild
To see the cmake files



On Mon, Jul 1, 2013 at 9:52 AM, Lars Bilke <lars.bilke at ufz.de> wrote:

> I am developing an application which uses VTK for the visualization. I
> would like to build against VTK as an external project. So I am using
> ExternalProject_Add() to build VTK which works fine.
>
> But how to set include directories and link libraries in my project? I
> read that ExternalProject_Add and FindPackage should not be used together.
> But how to populate all the necessary CMake variables which I normally get
> when is use FindPackage.
>
> Has anybody done this? I do not want the build my project like the
> ParaView superbuild. The simplest possible example would be very helpful!
>
> Thanks in advance,
> Lars Bilke.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130701/1e8583c0/attachment.htm>


More information about the vtkusers mailing list