[CMake] Forwarding parameters to cmake through cmake-gui

Matthew Woehlke matthew.woehlke at kitware.com
Fri Nov 1 19:45:16 EDT 2013


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.

-- 
Matthew



More information about the CMake mailing list