<div dir="ltr">The ITK wiki examples provide a superbuild capability. Look here:<div><a href="http://gitorious.org/itkwikiexamples/itkwikiexamples/trees/master/Superbuild">http://gitorious.org/itkwikiexamples/itkwikiexamples/trees/master/Superbuild</a><br>
</div><div style>To see the cmake files</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 1, 2013 at 9:52 AM, Lars Bilke <span dir="ltr"><<a href="mailto:lars.bilke@ufz.de" target="_blank">lars.bilke@ufz.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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.<br>
<br>
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.<br>
<br>
Has anybody done this? I do not want the build my project like the ParaView superbuild. The simplest possible example would be very helpful!<br>
<br>
Thanks in advance,<br>
Lars Bilke.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>