forked from qt-creator/qt-creator
CMake: Only pass the path mapper to the cbp-parser
No need to pass in the complete kit. Remove a couple of unnecessary namespace names. Change-Id: I2ac895535a80b4a54a423ce62dbdede65b67437b Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -437,8 +437,9 @@ void BuildDirManager::extractData()
|
||||
|
||||
// setFolderName
|
||||
CMakeCbpParser cbpparser;
|
||||
CMakeTool *cmake = CMakeKitInformation::cmakeTool(kit());
|
||||
// Parsing
|
||||
if (!cbpparser.parseCbpFile(kit(), cbpFile, sourceDirectory().toString()))
|
||||
if (!cbpparser.parseCbpFile(cmake->pathMapper(), cbpFile, sourceDirectory().toString()))
|
||||
return;
|
||||
|
||||
m_projectName = cbpparser.projectName();
|
||||
|
||||
Reference in New Issue
Block a user