| 317 | } |
| 318 | |
| 319 | QStringList QMakeProjectFile::filesForTarget(const QString& s) const |
| 320 | { |
| 321 | ifDebug(qCDebug(KDEV_QMAKE) << "Fetching files";) |
| 322 | |
| 323 | QStringList list; |
| 324 | if (variableValues(QStringLiteral("INSTALLS")).contains(s)) { |
| 325 | const QStringList files = variableValues(s + QLatin1String(".files")); |
| 326 | for (const QString& val : files) { |
| 327 | list += QStringList(resolveFileName(val)); |
| 328 | } |
| 329 | } |
| 330 | if (!variableValues(QStringLiteral("INSTALLS")).contains(s) || s == QLatin1String("target")) { |
| 331 | for (const QString& variable : QMakeProjectFile::FileVariables) { |
| 332 | const auto values = variableValues(variable); |
| 333 | for (const QString& value : values) { |
| 334 | list += QStringList(resolveFileName(value)); |
| 335 | } |
| 336 | } |
| 337 | } |
| 338 | ifDebug(qCDebug(KDEV_QMAKE) << "found" << list.size() << "files";) return list; |
| 339 | } |
| 340 | |
| 341 | QString QMakeProjectFile::getTemplate() const |
| 342 | { |
no test coverage detected