| 2604 | } |
| 2605 | |
| 2606 | void cmQtAutoGenInitializer::handleSkipPch(cmSourceFile* sf) |
| 2607 | { |
| 2608 | bool skipPch = true; |
| 2609 | for (auto const& pair : this->AutogenTarget.Sources) { |
| 2610 | if (!pair.first->GetIsGenerated() && |
| 2611 | !pair.first->GetProperty("SKIP_PRECOMPILE_HEADERS")) { |
| 2612 | skipPch = false; |
| 2613 | } |
| 2614 | } |
| 2615 | |
| 2616 | if (skipPch) { |
| 2617 | sf->SetProperty("SKIP_PRECOMPILE_HEADERS", "ON"); |
| 2618 | } |
| 2619 | } |
nothing calls this directly
no test coverage detected