| 761 | } |
| 762 | |
| 763 | void ProjectBuildManager::buildCurrentConfig( StatusBuildOutputController* sboc, |
| 764 | std::function<void( int exitStatus )> doneFn ) { |
| 765 | if ( sboc && !isBuilding() && !getBuilds().empty() ) { |
| 766 | const ProjectBuild* build = getCurrentBuild(); |
| 767 | if ( build ) { |
| 768 | mApp->saveAll(); |
| 769 | sboc->runBuild( build->getName(), mConfig.buildType, |
| 770 | getOutputParser( build->getName() ), false, doneFn ); |
| 771 | } |
| 772 | } |
| 773 | } |
| 774 | |
| 775 | void ProjectBuildManager::cleanCurrentConfig( StatusBuildOutputController* sboc ) { |
| 776 | if ( sboc && !isBuilding() && !getBuilds().empty() ) { |
no test coverage detected