From 497462a0cf2a20bdcd16fc9ddba547f2bd03cdde Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 25 Nov 2020 00:26:29 +0800 Subject: improve vcproj --- xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua | 6 ------ 1 file changed, 6 deletions(-) diff --git a/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua b/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua index 8188d401c..b228cef20 100644 --- a/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua +++ b/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua @@ -555,11 +555,6 @@ function _make_source_file_forall(vcxprojfile, vsinfo, target, sourcefile, sourc key = function (info) return os.args(info.flags) end , value = function (key) return key .. " %%(AdditionalOptions)" end } - , ObjectFileName = - { - key = function (info) return path.relative(path.absolute(info.objectfile), vcxprojdir) end - , value = function (key) return key end - } } -- make items @@ -663,7 +658,6 @@ function _make_source_file_forspec(vcxprojfile, vsinfo, target, sourcefile, sour if pcheader and language.sourcekind_of(sourcefile) ~= (target.pcxxheader and "cxx" or "cc") then vcxprojfile:print("NotUsing") end - vcxprojfile:print("%s", objectfile) vcxprojfile:print("%s %%(AdditionalOptions)", os.args(info.flags)) end -- cgit v1.3.1