2012/7/9 David Cole <david.c...@kitware.com>:
> I'm wondering if we should fix the place where that warning is emitted as
> well. It seems like perhaps the variable it's complaining about is "
> CMAKE_BUILD_TYPE" (with a leading space) and if we had some non-white-space
> bracketing characters around the variable name, the real problem would have
> been suggested more strongly by the output on the dashboard. Something like:
>
> CMake Warning:
>   Manually-specified variables were not used by the project:
>
>     [ CMAKE_BUILD_TYPE]

This would be nice and make it easier to catch some whitespace related error.
I Usually use  [] or <> in order to exhibit such user defined values.

-- 
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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to