| 10 | #include <QTextStream> |
| 11 | |
| 12 | void CMakeFile::addDefine(const QString& define) |
| 13 | { |
| 14 | if (define.isEmpty()) |
| 15 | return; |
| 16 | const int eqIdx = define.indexOf(QLatin1Char('=')); |
| 17 | if (eqIdx < 0) { |
| 18 | defines[define] = QString(); |
| 19 | } else { |
| 20 | defines[define.left(eqIdx)] = define.mid(eqIdx + 1); |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | void CMakeFilesCompilationData::rebuildFileForFolderMapping() |
| 25 | { |
no test coverage detected