forked from qt-creator/qt-creator
CMakeProjectManager: Add lib and app binaries to project tree
Task-number: QTCREATORBUG-28815 Change-Id: I58ebcd2a6935eb4b6746b5fd58e6ab8b97fdef43 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -198,6 +198,10 @@ void CMakeTargetNode::setTargetInformation(const QList<FilePath> &artifacts, con
|
||||
m_tooltip += Tr::tr("Build artifacts:") + "<br>" + tmp.join("<br>");
|
||||
m_artifact = artifacts.first();
|
||||
}
|
||||
if (type == "EXECUTABLE")
|
||||
setProductType(ProductType::App);
|
||||
else if (type == "SHARED_LIBRARY" || type == "STATIC_LIBRARY")
|
||||
setProductType(ProductType::Lib);
|
||||
}
|
||||
|
||||
} // CMakeProjectManager::Internal
|
||||
|
||||
Reference in New Issue
Block a user