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

Method ReadListFile

Source/CPack/cmCPackGenerator.cxx:1050–1058  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1048}
1049
1050bool cmCPackGenerator::ReadListFile(char const* moduleName)
1051{
1052 bool retval;
1053 std::string fullPath = this->MakefileMap->GetModulesFile(moduleName);
1054 retval = this->MakefileMap->ReadListFile(fullPath);
1055 // include FATAL_ERROR and ERROR in the return status
1056 retval = retval && (!cmSystemTools::GetErrorOccurredFlag());
1057 return retval;
1058}
1059
1060template <typename ValueType>
1061void cmCPackGenerator::StoreOptionIfNotSet(std::string const& op,

Callers 15

GetListOfTestsMethod · 0.45
LoadConfigMethod · 0.45
ReadInScriptMethod · 0.45
InstallProjectMethod · 0.45
InstallCMakeProjectMethod · 0.45
DoPackageMethod · 0.45
InitializeMethod · 0.45
PackageOnePackMethod · 0.45
PackageFilesMethod · 0.45
PackageOnePackMethod · 0.45

Calls 1

GetModulesFileMethod · 0.45

Tested by 3

GetListOfTestsMethod · 0.36
LoadConfigMethod · 0.36
ReadInScriptMethod · 0.36