Merge pull request #1530 from LORgames/ssurtees/cleanup

Remove unused code in vs2010_vcxproj.lua
This commit is contained in:
Samuel Surtees 2020-10-02 23:38:44 +10:00 committed by GitHub
commit 4de75e9d4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2861,20 +2861,6 @@
return m.conditionFromConfigText(vstudio.projectConfig(cfg))
end
--
-- Get the latest installed SDK 10 version from the registry.
--
function m.latestSDK10Version()
local arch = iif(os.is64bit(), "\\WOW6432Node\\", "\\")
local version = os.getWindowsRegistry("HKLM:SOFTWARE" .. arch .."Microsoft\\Microsoft SDKs\\Windows\\v10.0\\ProductVersion")
if version ~= nil then
return version .. ".0"
else
return nil
end
end
--
-- Output an individual project XML element, with an optional configuration