The question is: What is the expected behavior?

Execute it per configure but don't overwrite variables? What if one really
wants to overwrite?
Execute it once every time the binary directory changes? Changing stuff
only through setting the path is bad.
Other possiblities?


On Sat, Nov 2, 2013 at 12:45 AM, Matthew Woehlke <
matthew.woeh...@kitware.com> wrote:

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

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to