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

Method ReadAndStoreExternalGUID

Source/cmLocalVisualStudio10Generator.cxx:84–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void cmLocalVisualStudio10Generator::ReadAndStoreExternalGUID(
85 std::string const& name, char const* path)
86{
87 cmVS10XMLParser parser;
88 parser.ParseFile(path);
89
90 // if we can not find a GUID then we will generate one later
91 if (parser.GUID.empty()) {
92 return;
93 }
94
95 std::string guidStoreName = cmStrCat(name, "_GUID_CMAKE");
96 // save the GUID in the cache
97 this->GlobalGenerator->GetCMakeInstance()->AddCacheEntry(
98 guidStoreName, parser.GUID, "Stored GUID", cmStateEnums::INTERNAL);
99}
100
101char const* cmLocalVisualStudio10Generator::ReportErrorLabel() const
102{

Callers

nothing calls this directly

Calls 5

cmStrCatFunction · 0.70
ParseFileMethod · 0.45
emptyMethod · 0.45
AddCacheEntryMethod · 0.45
GetCMakeInstanceMethod · 0.45

Tested by

no test coverage detected