improve doxygen (#1440)

pull/1441/head
Hoildkv 2 years ago committed by GitHub
parent 71df5b3686
commit a9be1d12b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      packages/d/doxygen/xmake.lua

@ -11,8 +11,17 @@ package("doxygen")
add_versions("github:1.9.2", "Release_1_9_2")
add_versions("github:1.9.1", "Release_1_9_1")
if not is_plat("windows") then
add_deps("cmake", "bison", "flex", {private = true})
add_deps("python 3.x", {kind = "binary", private = true})
end
on_load("@windows", function (package)
if package:is_built() then
package:add("deps", "cmake", "bison", "flex")
package:add("deps", "python 3.x", {kind = "binary"})
end
end)
on_install("@windows", "@macosx", "@linux", function (package)
import("package.tools.cmake").install(package)

Loading…
Cancel
Save