forked from qt-creator/qt-creator
CMake: Support building a single file
Fixes: QTCREATORBUG-18898 Change-Id: I0ec24b20bfa8d43093b6e6681ddd752fbdea2088 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
a7345b67c1
commit
b500119fd7
@@ -191,6 +191,16 @@ QString CMakeTargetNode::buildKey() const
|
||||
return generateId(filePath(), m_target);
|
||||
}
|
||||
|
||||
Utils::FilePath CMakeTargetNode::buildDirectory() const
|
||||
{
|
||||
return m_buildDirectory;
|
||||
}
|
||||
|
||||
void CMakeTargetNode::setBuildDirectory(const Utils::FilePath &directory)
|
||||
{
|
||||
m_buildDirectory = directory;
|
||||
}
|
||||
|
||||
QVariant CMakeTargetNode::data(Core::Id role) const
|
||||
{
|
||||
auto value = [this](const QByteArray &key) -> QVariant {
|
||||
|
||||
Reference in New Issue
Block a user