Skip to content
Snippets Groups Projects
Commit 7fef1081 authored by dt's avatar dt
Browse files

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

Task:     246282
Details:  call setFolderName()
parent c3dcfeaf
No related branches found
No related tags found
No related merge requests found
......@@ -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)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment