[CMake] [cmake-developers] Forwarding parameters to cmake through cmake-gui

Brad King brad.king at kitware.com
Mon Nov 4 15:52:29 EST 2013


On 11/04/2013 03:47 PM, David Cole wrote:
> ccmake and cmake-gui *should* behave (in *my* opinion) as follows:
> - on startup, load the CMakeCache.txt values (if there are any) from 
> the previous run
> - then apply the -D arguments so that any -D arguments given on the 
> command line overwrite previous cache entries (just like command line 
> cmake does already)
> - then put the user in charge and wait for user input
> 
> This is, apparently, NOT the way that ccmake behaves today, but I think 
> it should be changed to be like that.

I agree, and there is not too much concern for compatibility in this
case due to the use of an interactive workflow.

-Brad


More information about the CMake mailing list