diff options
| author | LightInk <[email protected]> | 2016-09-19 13:36:59 +0800 |
|---|---|---|
| committer | LightInk <[email protected]> | 2016-09-19 13:36:59 +0800 |
| commit | 5e4bdd5caafca38b6f32d5eb7a73abbcd1050348 (patch) | |
| tree | 54ba4e1bdc65a1aa5642615831421c8fddc627cf | |
| parent | 18109e5c684cbb917fa590ee0f019a095f703d5a (diff) | |
change vs201x_vcxproj versions
| -rwxr-xr-x | xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua b/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua index e77d52446..c74cc7c81 100755 --- a/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua +++ b/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua @@ -110,15 +110,15 @@ function _make_header(vcxprojfile, vsinfo, target) -- the versions local versions = { - vs2010 = '10' - , vs2012 = '11' + vs2010 = '4' + , vs2012 = '4' , vs2013 = '12' , vs2015 = '14' } -- make header vcxprojfile:print("<?xml version=\"1.0\" encoding=\"utf-8\"?>") - vcxprojfile:enter("<Project DefaultTargets=\"Build\" ToolsVersion=\"%s\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">", vsinfo.filters_version) + vcxprojfile:enter("<Project DefaultTargets=\"Build\" ToolsVersion=\"%s.0\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">", assert(versions["vs" .. vsinfo.vstudio_version])) end -- make tailer |
