On Wed, Feb 6, 2013 at 5:59 AM, Pat Marion <pat.mar...@kitware.com> wrote:
> Hi,
>
> I'm emailing about bug 13093 in the backlog.  I found comments by Brad that
> suggest it's a legitimate warning, but I'm not sure how a project could
> avoid the warning.  Maybe cmake could send a fatal error if the toolchain
> filename differs from the filename that was used originally to generate the
> build tree, but otherwise suppress the warning?  I'm happy to try fixing the
> issue myself, but maybe a cmake developer can revisit the bug report and let
> me know what they think.  Thanks!
>
In the context of external project you can simply switch to
CMAKE_CACHE_ARGS rather than CMAKE_ARGS. You get around argument
length limitations on the more brain dead platforms and will never see
these warnings.

I like the feature they added, but wish they had defaulted it to off
(as was previous behavior) so that we saw it when debugging/checking a
project just like we turn on the warnings with compiler flags...

Marcus
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to