Commit 4c3885a5 authored by Tobias Hunger's avatar Tobias Hunger Committed by Tim Jenssen
Browse files

CMake: Polish TeaLeafReader

Change-Id: If379e1d53f2da61dccb1e72ea1a516e3bd788b60
Reviewed-by: Tim Jenssen's avatarTim Jenssen <>
parent 69b378eb
......@@ -449,9 +449,10 @@ void TeaLeafReader::extractData()
// Make sure the top cmakelists.txt file is always listed:
if (!contains(m_files, [topCMake](FileNode *fn) { return fn->filePath() == topCMake; })) {
if (!contains(m_files, [topCMake](FileNode *fn) { return fn->filePath() == topCMake; }))
m_files.append(new FileNode(topCMake, FileType::Project, false));
Utils::sort(m_files, &Node::sortByPath);
m_buildTargets = cbpparser.buildTargets();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment