<div class="gmail_quote">On Tue, Feb 10, 2009 at 3:35 AM, Micha Renner <span dir="ltr">&lt;<a href="mailto:Micha.Renner@t-online.de">Micha.Renner@t-online.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hallo,<br>
<br>
what is the difference between<br>
SET(variable )<br>
and<br>
UNSET(variable)</blockquote><div><br>Nothing.&nbsp; The unset command was added for completeness and so that there could be an additional option added to it to allow removal of cache variables.&nbsp; Also, it is often the case that someone reading CMake scripts for the first time might be confused over the meaning of set(foo) and think that it defines a variable setting it to empty when it actually undefines a variable.&nbsp; Hopefully over time, unset() will remove any confusion here.&nbsp; The command will be in the 2.6.3 release.&nbsp; Obviously please be careful using this command if compatibility with earlier versions of CMake is a concern.<br>
</div></div><br>-- <br>Philip Lowman<br>