summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/vsxmake/getinfo.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-05-21 23:38:00 +0800
committerruki <[email protected]>2021-05-21 23:38:00 +0800
commit81b6bcf17837db9771ba3781dd63e90ce6af2d65 (patch)
tree7013a6e2b90a27cf6d321af027025c1b7da30e1e /xmake/plugins/project/vsxmake/getinfo.lua
parentab71fcb7bfaf85340c92425a9e167e172b25fa76 (diff)
set binary as default target kind
Diffstat (limited to 'xmake/plugins/project/vsxmake/getinfo.lua')
-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 0c96a70ad..407e4cbe4 100644
--- a/xmake/plugins/project/vsxmake/getinfo.lua
+++ b/xmake/plugins/project/vsxmake/getinfo.lua
@@ -134,7 +134,7 @@ function _make_targetinfo(mode, arch, target)
-- use target:get("xxx") rather than target:xxx()
-- save target kind
- targetinfo.kind = target:get("kind")
+ targetinfo.kind = target:kind()
-- is default?
targetinfo.default = tostring(target:is_default())