[cmake-developers] CMakeParseArguments: Do not skip empty arguments
Alexander Neundorf
neundorf at kde.org
Sat Nov 9 12:48:31 EST 2013
On Friday 08 November 2013, Brad King wrote:
> On 11/8/2013 4:19 PM, Alexander Neundorf wrote:
> > On Friday 08 November 2013, Daniele E. Domenichelli wrote:
> >> So it looks like that "set(FOO "" PARENT_SCOPE)" instead of setting an
> >> empty FOO value, unsets it in the parent scope, and the behaviour is
> >> definitely different from set for the current scope.
> >
> > How about adding one new policy "modify handling of empty variables"
> > which is used by both ?
>
> At most the policy should affect PARENT_SCOPE.
Yes.
I meant "both" set(PARENT_SCOPE) and cmake_parse_arguments().
Alex
More information about the cmake-developers
mailing list