summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins/project/xmake.lua')
-rw-r--r--xmake/plugins/project/xmake.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/plugins/project/xmake.lua b/xmake/plugins/project/xmake.lua
index 3bf958d77..7cae4096c 100644
--- a/xmake/plugins/project/xmake.lua
+++ b/xmake/plugins/project/xmake.lua
@@ -61,6 +61,9 @@ task("project")
, {'a', "archs", "kv" , nil , "Set the project archs."
, " e.g. "
, " - xmake project -k vsxmake -a \"x86,x64\"" }
+ , {'t', "target", "kv" , nil , "Set the project target."
+ , " e.g. "
+ , " - xmake project -k compile_commands -t \"custom\"" }
, {nil, "lsp", "kv" , nil , "Set the LSP backend for compile_commands."
, " e.g. "
, " - xmake project -k compile_commands --lsp=clangd"