summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-03-07 16:43:07 +0800
committerGitHub <[email protected]>2023-03-07 16:43:07 +0800
commitbfe26c7c5b71e8f081bda8362f8a718ec7322390 (patch)
treef3b4e74767fb95f6378c0233fbfab764339884ed
parent00f306f67bc63493596e2e1b33dda0d27be2f9d5 (diff)
parent3c63a83e3dd03846f4d7ade18af6d5992e0141d8 (diff)
Merge pull request #3473 from guijiyang/doxygen
fix xmake doxygen bug,add doxygen to function _generate_doxyfile()
-rw-r--r--xmake/plugins/doxygen/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/plugins/doxygen/main.lua b/xmake/plugins/doxygen/main.lua
index 478613948..9ebaac8f3 100644
--- a/xmake/plugins/doxygen/main.lua
+++ b/xmake/plugins/doxygen/main.lua
@@ -27,7 +27,7 @@ import("private.action.require.impl.packagenv")
import("private.action.require.impl.install_packages")
-- generate doxyfile
-function _generate_doxyfile()
+function _generate_doxyfile(doxygen)
-- generate the default doxyfile
local doxyfile = path.join(project.directory(), "doxyfile")
@@ -98,7 +98,7 @@ function main()
-- get doxyfile first
local doxyfile = "doxyfile"
if not os.isfile(doxyfile) then
- doxyfile = _generate_doxyfile()
+ doxyfile = _generate_doxyfile(doxygen)
end
assert(os.isfile(doxyfile), "%s not found!", doxyfile)