forked from qt-creator/qt-creator
BuildSystem: Add buildConfiguration() method
Add a buildConfiguration method that returns the saved BuildConfiguration or the active BuildConfiguration if none is set. Change-Id: I8af25aa1037f59a0091900bac7eb84fed9e5fbb0 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -36,10 +36,8 @@ class CppProjectUpdater;
|
||||
} // namespace CppTools
|
||||
|
||||
namespace CMakeProjectManager {
|
||||
|
||||
class CMakeProject;
|
||||
|
||||
namespace Internal {
|
||||
|
||||
class CMakeBuildConfiguration;
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
@@ -80,7 +78,6 @@ public:
|
||||
void handleParsingSuccess();
|
||||
void handleParsingError();
|
||||
|
||||
ProjectExplorer::BuildConfiguration *buildConfiguration() const;
|
||||
CMakeBuildConfiguration *cmakeBuildConfiguration() const;
|
||||
|
||||
const QList<ProjectExplorer::BuildTargetInfo> appTargets() const;
|
||||
@@ -90,7 +87,7 @@ public:
|
||||
|
||||
private:
|
||||
std::unique_ptr<CMakeProjectNode> generateProjectTree(
|
||||
const QList<const ProjectExplorer::FileNode *> &allFiles);
|
||||
const QList<const ProjectExplorer::FileNode *> &allFiles);
|
||||
|
||||
// Combining Treescanner and Parser states:
|
||||
void combineScanAndParse();
|
||||
|
||||
Reference in New Issue
Block a user