summaryrefslogtreecommitdiff
path: root/xmake/plugins/doxygen/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-06-01 11:43:05 +0800
committerruki <[email protected]>2016-06-01 11:43:05 +0800
commita695fd4b26ed7c5bdba3bd18d9adb3075190b1ee (patch)
tree3b5238e5df7a5f2db927627e36f3d7782b60fd0b /xmake/plugins/doxygen/xmake.lua
parent8f62668161f2c002484ff783d67c53d65eee2116 (diff)
add arguments for doxygen plugin
Diffstat (limited to 'xmake/plugins/doxygen/xmake.lua')
-rwxr-xr-xxmake/plugins/doxygen/xmake.lua12
1 files changed, 8 insertions, 4 deletions
diff --git a/xmake/plugins/doxygen/xmake.lua b/xmake/plugins/doxygen/xmake.lua
index 4bead9547..3342df331 100755
--- a/xmake/plugins/doxygen/xmake.lua
+++ b/xmake/plugins/doxygen/xmake.lua
@@ -26,19 +26,23 @@ task("doxygen")
-- set category
set_category("plugin")
+ -- on run
+ on_run("main")
+
-- set menu
set_menu({
-- usage
- usage = "xmake doxygen [options] [name] [arguments]"
+ usage = "xmake doxygen [options] [arguments]"
-- description
- , description = "Generate the doxygen document for the given name."
+ , description = "Generate the doxygen document."
-- options
, options =
{
- {nil, "name", "v", "all", "Configure for the given document name." }
-
+ {nil, "doxyfile", "kv", "Doxyfile", "Set the doxygen config file." }
+ , {}
+ , {nil, "srcdir", "v", "src", "Set the source code directory." }
}
})