| 322 | } |
| 323 | |
| 324 | bool cmQtAutoGenGlobalInitializer::InitializeCustomTargets() |
| 325 | { |
| 326 | // Initialize global autogen targets |
| 327 | { |
| 328 | std::string const comment = "Global AUTOGEN target"; |
| 329 | for (auto const& pair : this->GlobalAutoGenTargets_) { |
| 330 | this->GetOrCreateGlobalTarget(pair.first, pair.second, comment); |
| 331 | } |
| 332 | } |
| 333 | // Initialize global autorcc targets |
| 334 | { |
| 335 | std::string const comment = "Global AUTORCC target"; |
| 336 | for (auto const& pair : this->GlobalAutoRccTargets_) { |
| 337 | this->GetOrCreateGlobalTarget(pair.first, pair.second, comment); |
| 338 | } |
| 339 | } |
| 340 | // Initialize per target autogen targets |
| 341 | for (auto& initializer : this->Initializers_) { |
| 342 | if (!initializer->InitCustomTargets()) { |
| 343 | return false; |
| 344 | } |
| 345 | } |
| 346 | return true; |
| 347 | } |
| 348 | |
| 349 | bool cmQtAutoGenGlobalInitializer::SetupCustomTargets() |
| 350 | { |
no test coverage detected