MCPcopy Create free account
hub / github.com/Kitware/CMake / doConfigure

Method doConfigure

Source/QtDialog/CMakeSetupDialog.cxx:448–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

446}
447
448void CMakeSetupDialog::doConfigure()
449{
450 if (this->CurrentState == Configuring) {
451 // stop configure
452 doInterrupt();
453 return;
454 }
455
456 if (!prepareConfigure()) {
457 return;
458 }
459
460 this->enterState(Configuring);
461
462 bool ret = doConfigureInternal();
463
464 if (ret) {
465 this->ConfigureNeeded = false;
466 }
467
468 if (ret && !this->CacheValues->cacheModel()->newPropertyCount()) {
469 this->enterState(ReadyGenerate);
470 } else {
471 this->enterState(ReadyConfigure);
472 this->CacheValues->scrollToTop();
473 }
474 this->ProgressBar->reset();
475
476#ifdef QT_WINEXTRAS
477 this->TaskbarButton->progress()->reset();
478#endif
479}
480
481bool CMakeSetupDialog::doConfigureInternal()
482{

Callers

nothing calls this directly

Calls 2

enterStateMethod · 0.95
resetMethod · 0.45

Tested by

no test coverage detected