MantisBT - CMake
View Issue Details
0013556CMakeCMakepublic2012-09-23 07:472013-03-04 08:38
Yuchen Deng 
Peter Kuemmel 
normalmajoralways
closednot fixable 
Windows 7 or Ubuntu 12.04WIN32 LINUX
CMake 2.8.9 
 
0013556: Ninja: Does not support 'ninja edit_cache' if cmake-gui does not exist
When running 'ninja edit_cache', I can't select / set any option.
Because I have no chance to select / type anything.
It's over, don't wait for user input.
No tags attached.
Issue History
2012-09-23 07:47Yuchen DengNew Issue
2012-09-25 00:12Frank MillerNote Added: 0031099
2012-09-25 02:29Yuchen DengNote Added: 0031100
2012-09-25 19:11Frank MillerNote Added: 0031104
2012-10-03 08:59Peter KuemmelAssigned To => Peter Kuemmel
2012-10-03 08:59Peter KuemmelStatusnew => assigned
2012-10-03 11:40Peter KuemmelNote Added: 0031166
2012-10-03 11:40Peter KuemmelStatusassigned => resolved
2012-10-03 11:40Peter KuemmelResolutionopen => not fixable
2013-03-04 08:38Robert MaynardNote Added: 0032466
2013-03-04 08:38Robert MaynardStatusresolved => closed

Notes
(0031099)
Frank Miller   
2012-09-25 00:12   
An edit_cache target does not make sense in this case. Ninja redirects
the input/output of all commands that it runs so an iterative command
with a text based user interface will not work. Ninja is waiting for
the command to finish and the command is waiting for the user to enter
something. Perhaps the generator should set the command for the target
to something like:

COMMAND = false && "Can't run ccmake from ninja. Call 'ccmake .' instead."
(0031100)
Yuchen Deng   
2012-09-25 02:29   
Sorry, I don't fully understand what you meaning.
Under Windows, there doesn't exist 'ccmake'.
You mean I have to use cmake-gui on Windows for Ninja generator?
(0031104)
Frank Miller   
2012-09-25 19:11   
I should have mentioned that I'm using linux and can't speak for
Windows. My experience is that when I create a ninja build system with
"ccmake" and then run "ninja edit_cache", the process hangs. If I create
a ninja build system with "cmake-gui", "ninja edit_cache" works as
expected. Perhaps what you are experiencing on Windows is a different
issue.
(0031166)
Peter Kuemmel   
2012-10-03 11:40   
Binary releases come with Qt GUI and the GUI could be build by setting -DBUILD_QtDialog=1.
(0032466)
Robert Maynard   
2013-03-04 08:38   
Closing resolved issues that have not been updated in more than 4 months.