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

Method ParseCacheWrite

Source/cmQtAutoMocUic.cxx:3026–3046  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3024}
3025
3026bool cmQtAutoMocUicT::ParseCacheWrite()
3027{
3028 if (this->BaseEval().ParseCacheChanged) {
3029 if (this->Log().Verbose()) {
3030 this->Log().Info(
3031 GenT::GEN,
3032 cmStrCat("Writing the parse cache file ",
3033 this->MessagePath(this->BaseConst().ParseCacheFile)));
3034 }
3035 if (!this->BaseEval().ParseCache.WriteToFile(
3036 this->BaseConst().ParseCacheFile)) {
3037 this->Log().Error(
3038 GenT::GEN,
3039 cmStrCat("Writing the parse cache file ",
3040 this->MessagePath(this->BaseConst().ParseCacheFile),
3041 " failed."));
3042 return false;
3043 }
3044 }
3045 return true;
3046}
3047
3048bool cmQtAutoMocUicT::CreateDirectories()
3049{

Callers 1

ProcessMethod · 0.95

Calls 7

VerboseMethod · 0.80
InfoMethod · 0.80
WriteToFileMethod · 0.80
cmStrCatFunction · 0.70
LogMethod · 0.45
MessagePathMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected