<div dir="ltr"><font face="courier new, monospace" style="font-size:13px">cmake -DBUILD_SHARED_LIBS:BOOL=ON</font><font face="trebuchet ms, sans-serif" style="font-size:13px"> </font><br><div><font face="trebuchet ms, sans-serif" style="font-size:13px"><br>

</font></div><div style><font face="trebuchet ms, sans-serif" style="font-size:13px">Should work too.</font></div><div style><font face="trebuchet ms, sans-serif"><br></font></div><div style><font face="trebuchet ms, sans-serif">Besides the ccmake and cmake-gui options Shawn recommended, another option for setting options in scripts and such is to put a CMakeCache.txt file with the small set of options you want into the build tree before you run cmake.</font></div>

<div style><font face="trebuchet ms, sans-serif"><br></font></div></div><div class="gmail_extra"><br clear="all"><div>David E DeMarle<br>Kitware, Inc.<br>R&amp;D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>

Phone: 518-881-4909</div>
<br><br><div class="gmail_quote">On Fri, Jun 21, 2013 at 3:37 PM, Shawn Waldon <span dir="ltr">&lt;<a href="mailto:swaldon@cs.unc.edu" target="_blank">swaldon@cs.unc.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">You could do it that way.  I have found that ccmake (command line interface) or cmake-gui are much easier for turning options on and off.  I would recommend using one of these and scrolling through the options to find BUILD_SHARED_LIBS.  It should be easy to turn on the option this way.<div>



<br></div><div>HTH,</div><div><br></div><div>Shawn</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Fri, Jun 21, 2013 at 3:05 PM, Sean Baskin <span dir="ltr">&lt;<a href="mailto:seanbaskin@gmail.com" target="_blank">seanbaskin@gmail.com</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div class="gmail_default" style="font-family:&#39;trebuchet ms&#39;,sans-serif">

Hello all,</div><div class="gmail_default" style="font-family:&#39;trebuchet ms&#39;,sans-serif">
<br></div><div class="gmail_default">
<span style="font-family:&#39;trebuchet ms&#39;,sans-serif">Please forgive my ignorance as I do not interact with CMake on a regular basis. I am experiencing the exact same issue as posted in this question: <a href="http://www.vtk.org/pipermail/vtkusers/2012-February/121489.html" style="font-family:arial" target="_blank">http://www.vtk.org/pipermail/vtkusers/2012-February/121489.html</a> . The response was to rebuild VTK with BUILD_SHARED_LIBS ... except I do not know how to do that. Is it a matter of running </span><font face="courier new, monospace">cmake -DBUILD_SHARED_LIBS=ON</font><font face="trebuchet ms, sans-serif"> .. ? I have tried various permutations of that with equal failure. Thanks.</font></div>


<span><font color="#888888">
<div class="gmail_default"><font face="trebuchet ms, sans-serif"><br></font></div><div class="gmail_default"><font face="trebuchet ms, sans-serif">Sean</font></div></font></span></div>
<br></div></div>_______________________________________________<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></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></div>