diff options
| author | star9029 <[email protected]> | 2024-09-27 00:15:02 +0800 |
|---|---|---|
| committer | star9029 <[email protected]> | 2024-09-27 00:15:02 +0800 |
| commit | 6e9508c16c4862f9145376372ec2eaffac0b6a3e (patch) | |
| tree | 45f6b3402f53631a7e5ae16142301a6dec78cb75 | |
| parent | dbf9d736d942bc86404c5248e937c9b7165658be (diff) | |
support object target for vsxamke
| -rw-r--r-- | xmake/plugins/project/vsxmake/getinfo.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/vsxmake/getinfo.lua b/xmake/plugins/project/vsxmake/getinfo.lua index 4d6618ca9..8c1a477e7 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 |
