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

Method InitializeCustomTargets

Source/cmQtAutoGenGlobalInitializer.cxx:324–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324bool 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
349bool cmQtAutoGenGlobalInitializer::SetupCustomTargets()
350{

Callers 1

ComputeMethod · 0.80

Calls 2

InitCustomTargetsMethod · 0.80

Tested by

no test coverage detected