| 206 | } |
| 207 | |
| 208 | void cmExportInstallCMakeConfigGenerator::LoadConfigFiles(std::ostream& os) |
| 209 | { |
| 210 | // Now load per-configuration properties for them. |
| 211 | /* clang-format off */ |
| 212 | os << "# Load information for each installed configuration.\n" |
| 213 | "file(GLOB _cmake_config_files \"${CMAKE_CURRENT_LIST_DIR}/" |
| 214 | << this->GetConfigImportFileGlob() << "\")\n" |
| 215 | "foreach(_cmake_config_file IN LISTS _cmake_config_files)\n" |
| 216 | " include(\"${_cmake_config_file}\")\n" |
| 217 | "endforeach()\n" |
| 218 | "unset(_cmake_config_file)\n" |
| 219 | "unset(_cmake_config_files)\n" |
| 220 | "\n"; |
| 221 | /* clang-format on */ |
| 222 | } |
| 223 | |
| 224 | void cmExportInstallCMakeConfigGenerator::GenerateImportConfig( |
| 225 | std::ostream& os, std::string const& config) |
no test coverage detected