forked from qt-creator/qt-creator
ProjectExplorer: Move some build-related code to BuildManager
The projectexplorer.cpp file is a huge mixed bag, which could use some cleaning up. The queue() function is very much related to the BuildManager, so move it there. Change-Id: Ibc6425cc27d44514803a5e7c6139f83ddd760382 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -30,8 +30,8 @@
|
||||
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
#include <projectexplorer/buildconfiguration.h>
|
||||
#include <projectexplorer/buildmanager.h>
|
||||
#include <projectexplorer/buildsteplist.h>
|
||||
#include <projectexplorer/projectexplorer.h>
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
#include <projectexplorer/session.h>
|
||||
#include <projectexplorer/target.h>
|
||||
@@ -157,7 +157,7 @@ void BuildCMakeTargetLocatorFilter::accept(Core::LocatorFilterEntry selection,
|
||||
buildStep->setBuildTarget(selection.displayName);
|
||||
|
||||
// Build
|
||||
ProjectExplorerPlugin::buildProject(cmakeProject);
|
||||
BuildManager::buildProjectWithDependencies(cmakeProject);
|
||||
buildStep->setBuildTarget(oldTarget);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user