[cmake-developers] Weird behavior with spaces in ctest_configure

Eric Noulard eric.noulard at gmail.com
Mon Jul 9 07:24:19 EDT 2012


2012/7/9 David Cole <david.cole at 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



More information about the cmake-developers mailing list