Skip to content

Commit

Permalink
support object target for vsxamke
Browse files Browse the repository at this point in the history
  • Loading branch information
star-hengxing committed Sep 26, 2024
1 parent dbf9d73 commit 6e9508c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/plugins/project/vsxmake/getinfo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6e9508c

Please sign in to comment.