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

Method Process

Source/cmQtAutoRcc.cxx:170–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170bool cmQtAutoRccT::Process()
171{
172 if (!this->SettingsFileRead()) {
173 return false;
174 }
175
176 // Test if the rcc output needs to be regenerated
177 bool generate = false;
178 if (!this->TestQrcRccFiles(generate)) {
179 return false;
180 }
181 if (!generate && !this->TestResources(generate)) {
182 return false;
183 }
184 // Generate on demand
185 if (generate) {
186 if (!this->GenerateRcc()) {
187 return false;
188 }
189 } else {
190 // Test if the info file is newer than the output file
191 if (!this->TestInfoFile()) {
192 return false;
193 }
194 }
195
196 if (!this->GenerateWrapper()) {
197 return false;
198 }
199
200 return this->SettingsFileWrite();
201}
202
203std::string cmQtAutoRccT::MultiConfigOutput() const
204{

Callers 4

RunProcessMethod · 0.45
RunMethod · 0.45
LoadRevisionsMethod · 0.45
LoadRevisionsMethod · 0.45

Calls 7

SettingsFileReadMethod · 0.95
TestQrcRccFilesMethod · 0.95
TestResourcesMethod · 0.95
GenerateRccMethod · 0.95
TestInfoFileMethod · 0.95
GenerateWrapperMethod · 0.95
SettingsFileWriteMethod · 0.95

Tested by 2

LoadRevisionsMethod · 0.36
LoadRevisionsMethod · 0.36