Fixes: All cmake projects use CMakeLists.txt as the name

Task:     246282
Details:  call setFolderName()
This commit is contained in:
dt
2009-03-13 15:46:30 +01:00
parent c3dcfeafba
commit 7fef10810a

View File

@@ -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)) {