| 229 | } |
| 230 | |
| 231 | void TestCMakeManager::testCustomTargetSources() |
| 232 | { |
| 233 | IProject* project = loadProject(QStringLiteral("custom_target_sources")); |
| 234 | |
| 235 | QList<ProjectTargetItem*> targets = project->buildSystemManager()->targets(project->projectItem()); |
| 236 | QVERIFY(targets.size() == 1); |
| 237 | |
| 238 | ProjectTargetItem *target = targets.first(); |
| 239 | QCOMPARE(target->fileList().size(), 1); |
| 240 | QCOMPARE(target->fileList().first()->baseName(), QStringLiteral("foo.cpp")); |
| 241 | } |
| 242 | |
| 243 | void TestCMakeManager::testConditionsInSubdirectoryBasedOnRootVariables() |
| 244 | { |
nothing calls this directly
no test coverage detected