From 6e9508c16c4862f9145376372ec2eaffac0b6a3e Mon Sep 17 00:00:00 2001 From: star9029 Date: Fri, 27 Sep 2024 00:15:02 +0800 Subject: [PATCH] support object target for vsxamke --- xmake/plugins/project/vsxmake/getinfo.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/plugins/project/vsxmake/getinfo.lua b/xmake/plugins/project/vsxmake/getinfo.lua index 4d6618ca96..8c1a477e71 100644 --- a/xmake/plugins/project/vsxmake/getinfo.lua +++ b/xmake/plugins/project/vsxmake/getinfo.lua @@ -155,7 +155,7 @@ function _make_targetinfo(mode, arch, target) -- fix c++17 to cxx17 for Xmake.props targetinfo.languages = targetinfo.languages:replace("c++", "cxx", {plain = true}) end - if target:is_phony() or target:is_headeronly() or target:is_moduleonly() then + if target:is_phony() or target:is_headeronly() or target:is_moduleonly() or target:is_object() then return targetinfo end