2013/2/6 Pat Marion <pat.mar...@kitware.com>:
> Thanks for the discussion guys!  And thanks Marcus for the CMAKE_CACHE_ARGS
> tip.  I'll try that out.
>
>
> In fact, the current design could be problematic because if you *do* specify
> a different toolchain file, cmake will ignore it instead of sending you a
> warning like it does if you change the CMAKE_CXX_COMPILER.  Would it be
> straightforward to compare the passed in value of CMAKE_TOOLCHAIN_FILE
> against the cached version?  That would prevent the "noisy" warning message,
> and afford the opportunity to send a legitimate warning or error if it does
> not match.

+1

I was about to suggest the very same idea.


-- 
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org
--

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