forked from qt-creator/qt-creator
Project: Improve default implementation of Project::needsConfiguration
Change-Id: Ic4d227334d818658f179c0589462551509274c17 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -361,11 +361,6 @@ CMakeProjectNode *CMakeProject::generateProjectTree(const QList<const FileNode *
|
||||
return root ? root.release() : nullptr;
|
||||
}
|
||||
|
||||
bool CMakeProject::needsConfiguration() const
|
||||
{
|
||||
return targets().isEmpty();
|
||||
}
|
||||
|
||||
bool CMakeProject::knowsAllBuildExecutables() const
|
||||
{
|
||||
return false;
|
||||
|
||||
@@ -68,7 +68,6 @@ public:
|
||||
|
||||
CMakeBuildTarget buildTargetForTitle(const QString &title);
|
||||
|
||||
bool needsConfiguration() const final;
|
||||
bool knowsAllBuildExecutables() const final;
|
||||
|
||||
bool supportsKit(const ProjectExplorer::Kit *k, QString *errorMessage = nullptr) const final;
|
||||
|
||||
Reference in New Issue
Block a user