MCPcopy Create free account
hub / github.com/Kitware/CMake / handleSkipPch

Method handleSkipPch

Source/cmQtAutoGenInitializer.cxx:2606–2619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2604}
2605
2606void 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}

Callers

nothing calls this directly

Calls 3

GetIsGeneratedMethod · 0.80
GetPropertyMethod · 0.45
SetPropertyMethod · 0.45

Tested by

no test coverage detected