View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013556CMakeCMakepublic2012-09-23 07:472013-03-04 08:38
ReporterYuchen Deng 
Assigned ToPeter Kuemmel 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionnot fixable 
PlatformWindows 7 or Ubuntu 12.04OSWIN32 LINUXOS Version
Product VersionCMake 2.8.9 
Target VersionFixed in Version 
Summary0013556: Ninja: Does not support 'ninja edit_cache' if cmake-gui does not exist
DescriptionWhen 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.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0031099)
Frank Miller (reporter)
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 (reporter)
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 (reporter)
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 (developer)
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 (manager)
2013-03-04 08:38

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-09-23 07:47 Yuchen Deng New Issue
2012-09-25 00:12 Frank Miller Note Added: 0031099
2012-09-25 02:29 Yuchen Deng Note Added: 0031100
2012-09-25 19:11 Frank Miller Note Added: 0031104
2012-10-03 08:59 Peter Kuemmel Assigned To => Peter Kuemmel
2012-10-03 08:59 Peter Kuemmel Status new => assigned
2012-10-03 11:40 Peter Kuemmel Note Added: 0031166
2012-10-03 11:40 Peter Kuemmel Status assigned => resolved
2012-10-03 11:40 Peter Kuemmel Resolution open => not fixable
2013-03-04 08:38 Robert Maynard Note Added: 0032466
2013-03-04 08:38 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team