forked from qt-creator/qt-creator
Meson: Hopefully final build fix for older GCC
Amends 77d7bb5014.
Change-Id: I94df369cd8aae7d978ede631103199a3a7cb5b26
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
committed by
Christian Stenger
parent
26121da90c
commit
5fcbc55c2c
@@ -144,7 +144,8 @@ bool MesonProjectParser::configure(const Utils::FilePath &sourcePath,
|
|||||||
auto cmd = MesonTools::mesonWrapper(m_meson)->configure(sourcePath, buildPath, args);
|
auto cmd = MesonTools::mesonWrapper(m_meson)->configure(sourcePath, buildPath, args);
|
||||||
// see comment near m_pendingCommands declaration
|
// see comment near m_pendingCommands declaration
|
||||||
m_pendingCommands.enqueue(
|
m_pendingCommands.enqueue(
|
||||||
{MesonTools::mesonWrapper(m_meson)->regenerate(sourcePath, buildPath), false});
|
std::make_tuple(MesonTools::mesonWrapper(m_meson)->regenerate(sourcePath, buildPath),
|
||||||
|
false));
|
||||||
return m_process.run(cmd, m_env, m_projectName);
|
return m_process.run(cmd, m_env, m_projectName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -118,10 +118,10 @@ QString NinjaBuildStep::defaultBuildTarget() const
|
|||||||
QTC_ASSERT(bsl, return {});
|
QTC_ASSERT(bsl, return {});
|
||||||
const Core::Id parentId = bsl->id();
|
const Core::Id parentId = bsl->id();
|
||||||
if (parentId == ProjectExplorer::Constants::BUILDSTEPS_CLEAN)
|
if (parentId == ProjectExplorer::Constants::BUILDSTEPS_CLEAN)
|
||||||
return Constants::Targets::clean;
|
return {Constants::Targets::clean};
|
||||||
if (parentId == ProjectExplorer::Constants::BUILDSTEPS_DEPLOY)
|
if (parentId == ProjectExplorer::Constants::BUILDSTEPS_DEPLOY)
|
||||||
return Constants::Targets::install;
|
return {Constants::Targets::install};
|
||||||
return Constants::Targets::all;
|
return {Constants::Targets::all};
|
||||||
}
|
}
|
||||||
|
|
||||||
void NinjaBuildStep::doRun()
|
void NinjaBuildStep::doRun()
|
||||||
|
|||||||
Reference in New Issue
Block a user