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 <[EMAIL PROTECTED]> 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@cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to