forked from qt-creator/qt-creator
Fixes: All cmake projects use CMakeLists.txt as the name
Task: 246282 Details: call setFolderName()
This commit is contained in:
@@ -84,6 +84,7 @@ void CMakeProject::parseCMakeLists()
|
||||
QString sourceDirectory = QFileInfo(m_fileName).absolutePath();
|
||||
|
||||
QString cbpFile = CMakeManager::findCbpFile(buildDirectory(activeBuildConfiguration()));
|
||||
m_rootNode->setFolderName(QFileInfo(cbpFile).baseName());
|
||||
CMakeCbpParser cbpparser;
|
||||
qDebug()<<"Parsing file "<<cbpFile;
|
||||
if (cbpparser.parseCbpFile(cbpFile)) {
|
||||
|
Reference in New Issue
Block a user