[cmake-developers] Review request: set_emptyvar_PARENT_SCOPE

Daniele E. Domenichelli daniele.domenichelli at gmail.com
Mon Nov 11 05:13:06 EST 2013


Hello,

Following this thread:

http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/8546

I've pushed a patch to the set_emptyvar_PARENT_SCOPE topic.
This patch introduces a new policy (CMP0040) to control the behaviour of

    set(var "" PARENT_SCOPE)

the OLD behaviour is to unset the "var" variable in the parent scope
the NEW behaviour is to set it as an empty string (coherently with set(var ""))


Could you review the topic please?

Thanks.


Cheers,
 Daniele



More information about the cmake-developers mailing list