[CMake] Disable Warning: "Manually-specified variables were not used by the project"

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Tue Nov 27 10:31:41 EST 2012


Hi Sören,

Command line option "--no-warn-unused-cli" should help you.

See
http://www.cmake.org/cmake/help/v2.8.8/cmake.html#opt:--no-warn-unused-cli
and http://www.cmake.org/pipermail/cmake/2011-February/042908.html

Hth
Jc


On Tue, Nov 27, 2012 at 10:10 AM, Sören Textor <s.textor at ditec-gmbh.de>wrote:

> Hello
> Is it possible to disable the warning:
> "Manually-specified variables were not used by the project"?
>
> This warning is nice, but in my case I'm not interessted in and I know
> that I put some unused variables for certain circumstances.
>
> Best
> SirAnn
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/**
> opensource/opensource.html<http://www.kitware.com/opensource/opensource.html>
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/**CMake_FAQ<http://www.cmake.org/Wiki/CMake_FAQ>
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake>
>



-- 
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20121127/0de7f13f/attachment.htm>


More information about the CMake mailing list