Commit abc4d5f9 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Autotools: Add method to retrieve default build dir based on project file

Change-Id: Ifd5af5c69329d2b9c86da8c8df796f317c65e1ee
Reviewed-by: default avatarTobias Hunger <>
parent 9c5ae766
......@@ -125,7 +125,12 @@ IProjectManager *AutotoolsProject::projectManager() const
QString AutotoolsProject::defaultBuildDirectory() const
return projectDirectory();
return defaultBuildDirectory(projectFilePath());
QString AutotoolsProject::defaultBuildDirectory(const QString &projectPath)
return QFileInfo(projectPath).absolutePath();
ProjectNode *AutotoolsProject::rootProjectNode() const
......@@ -77,6 +77,7 @@ public:
ProjectExplorer::ProjectNode *rootProjectNode() const;
QStringList files(FilesMode fileMode) const;
QString defaultBuildDirectory() const;
static QString defaultBuildDirectory(const QString &projectPath);
QStringList buildTargets() const;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment