VTK modularization is something we are perusing in the immediate future. Marcus has sent out a few emails on it to the list.<br><br><div class="gmail_quote">On Mon, Feb 7, 2011 at 11:57 AM, Dr. X <span dir="ltr">&lt;<a href="mailto:xunlei@renci.org">xunlei@renci.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

  
    
  
  <div bgcolor="#ffffff" text="#000000">
    BTW, <a href="http://www.vtk.org/Wiki/CMake:How_To_Find_Libraries" target="_blank">http://www.vtk.org/Wiki/CMake:How_To_Find_Libraries</a>
    mentions how to deal with components within a package, i.e. Qt by
    specifying<br>
    <span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:&#39;Times New Roman&#39;;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="font-family:sans-serif;font-size:13px;line-height:19px">
        <pre style="padding:1em;border:1px dashed rgb(47, 111, 171);color:black;background-color:rgb(249, 249, 249);line-height:1.1em">find_package(Qt COMPONENTS QtOpenGL QtXml REQUIRED)</pre>
      </span></span>Is there a reason why VTK is not set up the same
    way?<br>
    Best,<br>
    xunlei<div class="im"><br>
    <br>
    On 2/7/2011 11:55 AM, Dr. X wrote:
    <blockquote type="cite">Hi
      All,
      <br>
      <br>
      Would you please give me some hint on how to find out VTK library
      dependencies (automatically)?
      <br>
      When I build an application involving VTK, there are in general
      many libraries to be included. I don&#39;t quite know which library a
      particular VTK class belongs to. I am using CMake to create the
      build file.
      <br>
      Are there any tricks to let CMake automatically find VTK library
      dependencies and add them into the build file? Thanks a lot.
      <br>
      Best,
      <br>
      xunlei
      <br>
    </blockquote>
    <br>
  </div></div>

<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>
<br></blockquote></div><br>