[cmake-developers] New EVIS parser moving forward (3.1)
Ben Boeckel
ben.boeckel at kitware.com
Fri Feb 21 17:05:06 EST 2014
On Fri, Feb 21, 2014 at 16:37:51 -0500, Brad King wrote:
> IMO we should not be considering any change to implicit dereference
> in unquoted arguments. At most we should make if("FOO") not do it.
Any reason why? In my search of VTK and ParaView, there are lots of
places which use statements like:
if (${path} STREQUAL "string")
which would work just fine after killing implicit dereferences as well
and fights the principle of least surprise if ${path} is the name of a
variable. By far, the most popular implicit dereference intentional use
is "if (varname)" which is why I'd let that one go.
--Ben
More information about the cmake-developers
mailing list