summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/make/makefile.lua
diff options
context:
space:
mode:
authorSirLynix <[email protected]>2022-05-07 10:11:23 +0200
committerSirLynix <[email protected]>2022-05-07 10:11:23 +0200
commit252013a37a7d8c5b1b5b9bed74c29b1ead968046 (patch)
treec297f8faee602a8c7379c054bb7054082e19b96c /xmake/plugins/project/make/makefile.lua
parent166c21c46cfc79104bab7a5b6646ee43ebad45db (diff)
Add some plugin.project.kind for project generators
Diffstat (limited to 'xmake/plugins/project/make/makefile.lua')
-rw-r--r--xmake/plugins/project/make/makefile.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/plugins/project/make/makefile.lua b/xmake/plugins/project/make/makefile.lua
index 601f920c9..7b0ec8f60 100644
--- a/xmake/plugins/project/make/makefile.lua
+++ b/xmake/plugins/project/make/makefile.lua
@@ -213,6 +213,9 @@ end
-- make target
function _make_target(makefile, target, targetflags)
+ -- https://github.com/xmake-io/xmake/issues/2337
+ target:data_set("plugin.project.kind", "makefile")
+
-- is phony target?
if target:is_phony() then
return _make_phony(makefile, target)