diff options
| author | Arthur LAURENT <[email protected]> | 2024-02-07 12:09:32 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2024-02-07 16:58:39 +0100 |
| commit | 348a74ac9d4eeb464e8f890c453e39cb77ab2446 (patch) | |
| tree | 52b8b5c5ff04ad419e4b858fa5cde06dcdbd145e | |
| parent | dee7608d9e53e040803fdaff4e87561ac3932943 (diff) | |
update vsxmake to handle moduleonly target kind
| -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 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 |
