<div dir="ltr"><div>The question is: What is the expected behavior?<br><br></div><div>Execute it per configure but don&#39;t overwrite variables? What if one really wants to overwrite?<br></div><div>Execute it once every time the binary directory changes? Changing stuff only through setting the path is bad.<br>


</div>Other possiblities?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Nov 2, 2013 at 12:45 AM, Matthew Woehlke <span dir="ltr">&lt;<a href="mailto:matthew.woehlke@kitware.com" target="_blank">matthew.woehlke@kitware.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 2013-11-01 19:39, Matthew Woehlke wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 2013-11-01 17:35, physhh . wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I&#39;ve tried to implement it in the same way as CCMake seem to do it.<br>
Because I can&#39;t compare it =&gt;<br>
Could somone with access to ccmake test this:<br>
- Start CCMake with -D foo=123<br>
- Configure<br>
- Question: Is foo displayed in the variable list?<br>
</blockquote>
<br>
Yes.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
- Add/Edit foo to some other value<br>
- Configure<br>
- Question: Was foo overwritten with &quot;123&quot;?<br>
</blockquote>
<br>
Yes. Repeatedly (i.e. if I configure, then change it, it still gets<br>
overwritten). And I&#39;m going to have to call that a bug; it&#39;s hard to<br>
imagine how it is desired behavior.<br>
</blockquote>
<br></div>
Reported here: <a href="http://public.kitware.com/Bug/view.php?id=14538" target="_blank">http://public.kitware.com/Bug/<u></u>view.php?id=14538</a>.<div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
Matthew<br>
<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/<u></u>CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" target="_blank">http://cmake.org/cmake/help/<u></u>support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" target="_blank">http://cmake.org/cmake/help/<u></u>consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" target="_blank">http://cmake.org/cmake/help/<u></u>training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/<u></u>listinfo/cmake</a><br>
</div></div></blockquote></div><br></div>