| 82 | } |
| 83 | |
| 84 | void 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 | |
| 101 | char const* cmLocalVisualStudio10Generator::ReportErrorLabel() const |
| 102 | { |
nothing calls this directly
no test coverage detected