forked from qt-creator/qt-creator
CMake: Encapsulate BuildDirManager in CMakeBC
This will make it easier to introduce a new type of BuildDirManager to accommodate cmake server-mode. Change-Id: I989aab9df44dff1cfdff226ef97bb30bb092ffdd Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "cmakeconfigitem.h"
|
||||
#include "cmakeproject.h"
|
||||
#include "configmodel.h"
|
||||
|
||||
#include <projectexplorer/buildconfiguration.h>
|
||||
@@ -70,13 +71,16 @@ public:
|
||||
QString error() const;
|
||||
QString warning() const;
|
||||
|
||||
BuildDirManager *buildDirManager() const;
|
||||
|
||||
bool isParsing() const;
|
||||
|
||||
void maybeForceReparse();
|
||||
void resetData();
|
||||
bool persistCMakeState();
|
||||
void runCMake();
|
||||
void clearCache();
|
||||
|
||||
QList<CMakeBuildTarget> buildTargets() const;
|
||||
void generateProjectTree(CMakeProjectNode *root) const;
|
||||
|
||||
static Utils::FileName
|
||||
shadowBuildDirectory(const Utils::FileName &projectFilePath, const ProjectExplorer::Kit *k,
|
||||
|
||||
Reference in New Issue
Block a user