package An official xmake package repository https://xrepo.xmake.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
605 B

package("dirent_h")
set_kind("library", {headeronly = true})
set_homepage("https://github.com/win32ports/dirent_h")
set_description("header-only Windows implementation of the <dirent.h> header")
set_license("MIT")
add_urls("https://github.com/win32ports/dirent_h.git")
add_versions("2021.09.25", "0170b775ae7cede136c0c1f71b8e5002cc36288b")
on_install("windows", function (package)
os.cp("dirent.h", package:installdir("include"))
end)
on_test(function (package)
assert(package:has_cfuncs("opendir", {includes = "dirent.h"}))
end)