[CMake] avoid windows link warning: LNK4221
David Cole
david.cole at kitware.com
Thu May 15 12:58:59 EDT 2008
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.
HTH,
David
On Wed, May 14, 2008 at 2:28 PM, Phil Pellouchoud <Phil at slacker.com> wrote:
> I have a *static library* that is giving the following warning:
>
>
>
> LNK4221
>
>
>
> Is there a way to tell cmake to add
>
>
>
> /IGNORE:4221
>
>
>
> 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).
>
>
>
> -phil
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080515/a0606a9f/attachment.htm>
More information about the CMake
mailing list