diff options
| author | ruki <[email protected]> | 2020-11-25 00:26:29 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-11-25 00:26:29 +0800 |
| commit | 497462a0cf2a20bdcd16fc9ddba547f2bd03cdde (patch) | |
| tree | 41116a122f400db88eef7d4d413ff9e32e05a79f | |
| parent | 5dbf5a1ca7af00442614e21d63969b579cea5ac2 (diff) | |
improve vcproj
| -rw-r--r-- | xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua | 6 |
1 files changed, 0 insertions, 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("<PrecompiledHeader>NotUsing</PrecompiledHeader>") end - vcxprojfile:print("<ObjectFileName>%s</ObjectFileName>", objectfile) vcxprojfile:print("<AdditionalOptions>%s %%(AdditionalOptions)</AdditionalOptions>", os.args(info.flags)) end |
