| 968 | } |
| 969 | |
| 970 | int cmCursesMainForm::LoadCache(char const* /*unused*/) |
| 971 | |
| 972 | { |
| 973 | int r = this->CMakeInstance->LoadCache(); |
| 974 | if (r < 0) { |
| 975 | return r; |
| 976 | } |
| 977 | |
| 978 | // Process presets before loading the cache |
| 979 | this->CMakeInstance->ProcessPresetVariables(); |
| 980 | this->CMakeInstance->ProcessPresetEnvironment(); |
| 981 | |
| 982 | this->CMakeInstance->SetCacheArgs(this->Args); |
| 983 | this->CMakeInstance->PreLoadCMakeFiles(); |
| 984 | return r; |
| 985 | } |
| 986 | |
| 987 | void cmCursesMainForm::JumpToCacheEntry(char const* astr) |
| 988 | { |