View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011220CMakeCMakepublic2010-09-10 11:542016-06-10 14:31
ReporterDavid Doria 
Assigned ToKitware Robot 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in Version 
Summary0011220: Configure and generate in one step from GUIs
DescriptionAdd a button to the GUIs (ccmake and Windows GUI) to configure and generate in one step (rather than having to press 'c', 'c', then 'g').

From a recent discussion on the mailing list (titled "Auto re-configuring until cache stops changing"), it has been decided that this functionality should exist.

The plan is:
- Add this functionality to Next immediately after the 2.8.3 release
- Have it ready for the 2.8.4 release

A related issue that may no longer be relevant is the 'g for generate' text is not visible at all in ccmake until it is available. It would be nice to have more of an equivalent to the "greyed out" generate button that is in the Windows GUI that lets the user know at least that there is a pending step, it is just not available yet until another 'c for configure' is performed.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0024226)
David Cole (manager)
2010-12-17 07:49

I don't think we need to add a button to accomplish the goal here. I think we should just enable generate using the same logic that is used to enable configure, and then, if necessary, when the user chooses generate, do a configure first followed by the generate.
(0024227)
David Doria (reporter)
2010-12-17 07:52
edited on: 2010-12-17 07:52

"Configure" is always enabled though, right? So "Generate" would also be always enabled? If so, this is perfect.

(0024229)
David Cole (manager)
2010-12-17 08:39

Configure is always *enabled* -- but when the configure is running, the GUI button in cmake-gui changes to a "Stop" button so you can cancel it before it's done. Perhaps Generate should be grayed out while configure/generate is occurring so that only the "Stop" button is enabled while processing.

Also, when you first choose configure, you may have to say yes to the "create directory" question, and you may have to choose a generator if this is your very first configure in that build dir, so both of those would also have to be activated on-demand from the "one-click to Generate" scenario...
(0024230)
David Doria (reporter)
2010-12-17 08:42

Oh I see what you mean - only disable the Generate button when you aren't supposed to be clicking anything (i.e. when something is happening - configuring, etc). Of course you'll still have to answer "first time questions", that is fine.

Sounds like a plan :)
(0024353)
Clinton Stimpson (developer)
2011-01-01 20:40

Can someone do ccmake?
(0024518)
David Cole (manager)
2011-01-07 16:42

cmake-gui now has this behavior as of this commit:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3f158c6d [^]
(0024556)
David Cole (manager)
2011-01-10 15:29

cmake-gui is the more important piece of this issue.... and that part will make it into CMake 2.8.4.

But for ccmake, we'll have to defer that until next time. We're out of time for CMake 2.8.4.

If anybody monitoring this issue would like to provide a patch for ccmake functionality to match the new cmake-gui "generate in one click" behavior, that would be most welcome.

Unsetting the target version field ... more later.
(0041744)
Kitware Robot (administrator)
2016-06-10 14:28

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2010-09-10 11:54 David Doria New Issue
2010-09-10 12:04 David Cole Status new => assigned
2010-09-10 12:04 David Cole Assigned To => David Cole
2010-12-17 07:49 David Cole Note Added: 0024226
2010-12-17 07:52 David Doria Note Added: 0024227
2010-12-17 07:52 David Doria Note Edited: 0024227
2010-12-17 08:39 David Cole Note Added: 0024229
2010-12-17 08:42 David Doria Note Added: 0024230
2010-12-17 17:56 David Cole Assigned To David Cole => Clinton Stimpson
2011-01-01 20:39 Clinton Stimpson Assigned To Clinton Stimpson => David Cole
2011-01-01 20:40 Clinton Stimpson Note Added: 0024353
2011-01-05 12:03 David Cole Target Version => CMake 2.8.4
2011-01-07 16:42 David Cole Note Added: 0024518
2011-01-10 15:29 David Cole Note Added: 0024556
2011-01-10 15:29 David Cole Target Version CMake 2.8.4 =>
2011-10-25 22:25 David Cole Status assigned => backlog
2011-10-25 22:26 David Cole Assigned To David Cole =>
2016-06-10 14:28 Kitware Robot Note Added: 0041744
2016-06-10 14:28 Kitware Robot Status backlog => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team