forked from qt-creator/qt-creator
CMake: Move more code into BuildDirManager
Continue to concentrate all the code reading random cmake files in BuildDirManager. Now the task is to clean up the code, make it less dependent on values it should not depend on (kits, etc.), make it handle changes better and finally add another implementation that uses the cmake server mode to extract the data. Change-Id: I533625e376b969b64287bc205bd2e4be7a605306 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -211,6 +211,11 @@ void CMakeBuildConfiguration::generateProjectTree(CMakeProjectNode *root) const
|
||||
return m_buildDirManager->generateProjectTree(root);
|
||||
}
|
||||
|
||||
QSet<Core::Id> CMakeBuildConfiguration::updateCodeModel(CppTools::ProjectPartBuilder &ppBuilder)
|
||||
{
|
||||
return m_buildDirManager->updateCodeModel(ppBuilder);
|
||||
}
|
||||
|
||||
FileName CMakeBuildConfiguration::shadowBuildDirectory(const FileName &projectFilePath,
|
||||
const Kit *k,
|
||||
const QString &bcName,
|
||||
|
||||
Reference in New Issue
Block a user