I would agree. Creating a static library but requiring a shared runtime always seemed to boggle my mind. I think this is something CMake does on it&#39;s own but possibly we can override it in a future release. Please file a bug at <a href="http://vtk.org/Bug">vtk.org/Bug</a> so we don&#39;t forget about this.<br>

<br><div class="gmail_quote">On Mon, Oct 24, 2011 at 12:03 PM, Kischell, Eric R. <span dir="ltr">&lt;<a href="mailto:Kischell.Eric@mayo.edu">Kischell.Eric@mayo.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<u></u>






<div>


<p><b><font color="#008000" face="Century Schoolbook">Hello VTK Lurkers,</font></b>
</p>

<p><b><font color="#008000" face="Century Schoolbook">When building VTK 5.8 as a static library under WIN7 using C-Make 2.8.6…</font></b>

<br><b><font color="#008000" face="Century Schoolbook">I un-check BUILD_SHARED_LIBS under the C-Make GUI.</font></b>

<br><b><font color="#008000" face="Century Schoolbook">The generated VC++ 2005 solution contains projects with </font></b>

<br><b><font color="#008000" face="Century Schoolbook">C / C++ | Code Generation set to  </font></b>

<br><b><font color="#008000" face="Century Schoolbook">/MD instead of the correct /MT (Multi-threaded (/MT)).</font></b>

<br><b><font color="#008000" face="Century Schoolbook">I must then manually change all of the /MD&#39;s to /MT&#39;s under the C-Make GUI&#39;s advanced settings.</font></b>
</p>

<p><b><font color="#008000" face="Century Schoolbook">It would be more convenient to have C-Make automatically set to /MT and /MTd</font></b>

<br><b><font color="#008000" face="Century Schoolbook">if BUILD_SHARED_LIBS  is un-checked.</font></b>
</p>

<p><b><font color="#008000" face="Century Schoolbook">thx</font></b>
</p>

<p align="CENTER"><b><font color="#0000FF" size="2" face="Verdana">keesh</font></b></p>

<p align="CENTER"><font size="2" face="Verdana">Work Life Plan:<br>
To improve the quality of life for all mankind through better pattern recognition techniques.</font></p>
<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>