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

Method PreLoadCMakeFiles

Source/cmake.cxx:2891–2908  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2889}
2890
2891void cmake::PreLoadCMakeFiles()
2892{
2893 std::vector<std::string> args;
2894 std::string pre_load = this->GetHomeDirectory();
2895 if (!pre_load.empty()) {
2896 pre_load += "/PreLoad.cmake";
2897 if (cmSystemTools::FileExists(pre_load)) {
2898 this->ReadListFile(args, pre_load);
2899 }
2900 }
2901 pre_load = this->GetHomeOutputDirectory();
2902 if (!pre_load.empty()) {
2903 pre_load += "/PreLoad.cmake";
2904 if (cmSystemTools::FileExists(pre_load)) {
2905 this->ReadListFile(args, pre_load);
2906 }
2907 }
2908}
2909
2910#ifdef CMake_ENABLE_DEBUGGER
2911

Callers 3

RunMethod · 0.95
configureMethod · 0.80
LoadCacheMethod · 0.80

Calls 3

ReadListFileMethod · 0.95
FileExistsFunction · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected