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

Method LoadConfigFiles

Source/cmExportInstallCMakeConfigGenerator.cxx:208–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208void 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
224void cmExportInstallCMakeConfigGenerator::GenerateImportConfig(
225 std::ostream& os, std::string const& config)

Callers 1

GenerateMainFileMethod · 0.95

Calls 1

Tested by

no test coverage detected