| 1842 | } |
| 1843 | |
| 1844 | bool 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 | |
| 1865 | bool cmQtAutoGenInitializer::SetupWriteAutogenInfo() |
| 1866 | { |
no test coverage detected