forked from qt-creator/qt-creator
QmakeProject: Move QmakeBC::isShadowBuild
... to the config widget implementation, which is the only user. Change-Id: I7cc70b6219dacedf1ef431a1fe21345b9ad69e7b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -255,15 +255,6 @@ void QmakeBuildConfiguration::setFileNodeBuild(FileNode *node)
|
||||
m_fileNodeBuild = node;
|
||||
}
|
||||
|
||||
/// returns whether this is a shadow build configuration or not
|
||||
/// note, even if shadowBuild() returns true, it might be using the
|
||||
/// source directory as the shadow build directory, thus it
|
||||
/// still is a in-source build
|
||||
bool QmakeBuildConfiguration::isShadowBuild() const
|
||||
{
|
||||
return buildDirectory() != target()->project()->projectDirectory();
|
||||
}
|
||||
|
||||
QString QmakeBuildConfiguration::makefile() const
|
||||
{
|
||||
auto rootNode = dynamic_cast<QmakeProFileNode *>(target()->project()->rootProjectNode());
|
||||
|
||||
Reference in New Issue
Block a user