diff options
| author | SirLynix <[email protected]> | 2022-05-07 10:11:23 +0200 |
|---|---|---|
| committer | SirLynix <[email protected]> | 2022-05-07 10:11:23 +0200 |
| commit | 252013a37a7d8c5b1b5b9bed74c29b1ead968046 (patch) | |
| tree | c297f8faee602a8c7379c054bb7054082e19b96c /xmake/plugins/project/cmake/cmakelists.lua | |
| parent | 166c21c46cfc79104bab7a5b6646ee43ebad45db (diff) | |
Add some plugin.project.kind for project generators
Diffstat (limited to 'xmake/plugins/project/cmake/cmakelists.lua')
| -rw-r--r-- | xmake/plugins/project/cmake/cmakelists.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/plugins/project/cmake/cmakelists.lua b/xmake/plugins/project/cmake/cmakelists.lua index 6f771130c..fed2f7e42 100644 --- a/xmake/plugins/project/cmake/cmakelists.lua +++ b/xmake/plugins/project/cmake/cmakelists.lua @@ -131,6 +131,10 @@ end -- add target: phony function _add_target_phony(cmakelists, target) + + -- https://github.com/xmake-io/xmake/issues/2337 + target:data_set("plugin.project.kind", "cmakelist") + cmakelists:printf("add_custom_target(%s", target:name()) local deps = target:get("deps") if deps then |
