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

Method SetupCustomTargets

Source/cmQtAutoGenInitializer.cxx:1844–1863  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1842}
1843
1844bool cmQtAutoGenInitializer::SetupCustomTargets()
1845{
1846 // Create info directory on demand
1847 if (!cmSystemTools::MakeDirectory(this->Dir.Info)) {
1848 cmSystemTools::Error(cmStrCat("AutoGen: Could not create directory: ",
1849 Quoted(this->Dir.Info)));
1850 return false;
1851 }
1852
1853 // Generate autogen target info file
1854 if (this->MocOrUicEnabled()) {
1855 // Write autogen target info files
1856 if (!this->SetupWriteAutogenInfo()) {
1857 return false;
1858 }
1859 }
1860
1861 // Write AUTORCC info files
1862 return !this->Rcc.Enabled || this->SetupWriteRccInfo();
1863}
1864
1865bool cmQtAutoGenInitializer::SetupWriteAutogenInfo()
1866{

Callers 1

GenerateMethod · 0.45

Calls 5

MocOrUicEnabledMethod · 0.95
SetupWriteAutogenInfoMethod · 0.95
SetupWriteRccInfoMethod · 0.95
ErrorClass · 0.70
cmStrCatFunction · 0.70

Tested by

no test coverage detected