On 2013-11-11 05:13, Daniele E. Domenichelli wrote:
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 ""))
WCTS, how does one now unset a variable in parent scope?
I recall some time back there was talk of adding PARENT_SCOPE to
unset(). If set() can no longer be used for this purpose, maybe unset()
should gain a PARENT_SCOPE option first / at the same time?
--
Matthew
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers