Why not eliminate the warning instead...? Either eliminate the source file that produces the warning or add an empty "dummy" function to it so that at least one symbol is publicly available from the lib.<br><br>HTH,<br>
David<br><br><br><div class="gmail_quote">On Wed, May 14, 2008 at 2:28 PM, Phil Pellouchoud <<a href="mailto:Phil@slacker.com">Phil@slacker.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p>I have a <b>static library</b> that is giving the following
warning:</p>
<p> </p>
<p>LNK4221</p>
<p> </p>
<p>Is there a way to tell cmake to add</p>
<p> </p>
<p>/IGNORE:4221</p>
<p> </p>
<p>I would normally add this in the "Additional Options:"
edit box on the Librarian/Command Line section of the project properties
(Microsoft Visual Studio 2005).</p>
<p> </p><font color="#888888">
<p>-phil</p>
</font></div>
</div>
<br>_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>