Qt4PM: Build current file

Task-number: QTCREATORBUG-106

Change-Id: I3511f57b9128073104f6691a469f9c54d64138c3
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
Orgad Shaneh
2012-05-04 16:25:41 +03:00
committed by Daniel Teske
parent eb6b9c98c8
commit 72bf41b40f
10 changed files with 83 additions and 4 deletions

View File

@@ -1527,6 +1527,13 @@ bool Qt4ProFileNode::hasBuildTargets(Qt4ProjectType projectType) const
return (projectType == ApplicationTemplate || projectType == LibraryTemplate);
}
bool Qt4ProFileNode::isDebugAndRelease() const
{
const QStringList configValues = m_varValues.value(ConfigVar);
return (configValues.contains(QLatin1String("debug_and_release"))
&& configValues.contains(QLatin1String("debug_and_release_target")));
}
Qt4ProjectType Qt4ProFileNode::projectType() const
{
return m_projectType;