[cmake-developers] [PATCH] remove "x" placeholder from STREQUAL operands

Brad King brad.king at kitware.com
Fri Apr 18 08:51:28 EDT 2014


On 04/18/2014 03:07 AM, Rolf Eike Beer wrote:
> what about nuking at least all 
> control characters and whitespace from variable names in 3.1? I don't think 
> that anyone has used them on purpose, and accidentially using them will only 
> cause trouble.

If we're going to change this I don't want it to be part-way.  We've
discussed before on this list that the proper solution is to make
auto-expansion and keyword recognition occur only for unquoted args
(with associated policy of course).

There is nothing wrong with the "x" workaround in practice until
a real solution can be implemented.

-Brad




More information about the cmake-developers mailing list