summaryrefslogtreecommitdiff
path: root/xmake/core/project
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/core/project
parentab71fcb7bfaf85340c92425a9e167e172b25fa76 (diff)
set binary as default target kind
Diffstat (limited to 'xmake/core/project')
-rw-r--r--xmake/core/project/target.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua
index 67e7e31f3..38d207656 100644
--- a/xmake/core/project/target.lua
+++ b/xmake/core/project/target.lua
@@ -456,7 +456,7 @@ end
-- get the target kind
function _instance:kind()
- return self:get("kind") or "phony"
+ return self:get("kind") or "binary"
end
-- get the target kind (deprecated)