[cmake-developers] New EVIS parser moving forward (3.1)
Matthew Woehlke
mw_triad at users.sourceforge.net
Fri Feb 21 16:47:18 EST 2014
On 2014-02-21 16:34, Ben Boeckel wrote:
> Other than <varname>, I don't really see a huge burden to not allowing
> implicit dereferencing and it is more consistent at that point. In fact,
> I'd be willing to say in <varname> that we *only* support implicit
> dereference, but it may be too hard to detect:
>
> if (${var})
>
> and actually help users to fix such cases.
I expect the above to test the variable whose name is stored in 'var'
:-). And probably something is wrong if there is no such variable. So
that's probably an argument for forcing a dereference there (unless the
input is a truth-value).
--
Matthew
More information about the cmake-developers
mailing list