summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2024-02-07 12:09:32 +0100
committerArthur LAURENT <[email protected]>2024-02-07 16:58:39 +0100
commit348a74ac9d4eeb464e8f890c453e39cb77ab2446 (patch)
tree52b8b5c5ff04ad419e4b858fa5cde06dcdbd145e
parentdee7608d9e53e040803fdaff4e87561ac3932943 (diff)
update vsxmake to handle moduleonly target kind
-rw-r--r--xmake/plugins/project/vsxmake/getinfo.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/vsxmake/getinfo.lua b/xmake/plugins/project/vsxmake/getinfo.lua
index e992c1bd4..af88b51f6 100644
--- a/xmake/plugins/project/vsxmake/getinfo.lua
+++ b/xmake/plugins/project/vsxmake/getinfo.lua
@@ -154,7 +154,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() then
+ if target:is_phony() or target:is_headeronly() or target:is_moduleonly() then
return targetinfo
end