Commit b8256ddd authored by Ray Donnelly's avatar Ray Donnelly
Browse files

autotools: Set a default buildDir



So that the un-changed optimization in setBuildDirectory works
correctly.

Change-Id: Ie31fb2722c663cd0f998458d536181f47c83a37d
Reviewed-by: default avatarDaniel Teske <daniel.teske@theqtcompany.com>
parent 1ef66857
......@@ -64,7 +64,11 @@ using namespace ProjectExplorer::Constants;
//////////////////////////////////////
AutotoolsBuildConfiguration::AutotoolsBuildConfiguration(Target *parent)
: BuildConfiguration(parent, Core::Id(AUTOTOOLS_BC_ID))
{ }
{
// /<foobar> is used so the un-changed check in setBuildDirectory() works correctly.
// The leading / is to avoid the relative the path expansion in BuildConfiguration::buildDirectory.
BuildConfiguration::setBuildDirectory(Utils::FileName::fromString(QString::fromLatin1("/<foobar>")));
}
NamedWidget *AutotoolsBuildConfiguration::createConfigWidget()
{
......
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