Skip to content

Instantly share code, notes, and snippets.

@mallochine
Created October 28, 2017 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mallochine/7af8454c0e1e208f8e877ba9a60488c1 to your computer and use it in GitHub Desktop.
Save mallochine/7af8454c0e1e208f8e877ba9a60488c1 to your computer and use it in GitHub Desktop.
problem number 1
bool cmGlobalVisualStudio14Generator::IsWindowsStoreToolsetInstalled() const
{
const char universal10Key[] =
"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\"
"VisualStudio\\14.0\\Setup\\Build Tools for Windows 10;SrcPath";
std::string win10SDK;
return cmSystemTools::ReadRegistryValue(universal10Key, win10SDK,
cmSystemTools::KeyWOW64_32);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment