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.

23 lines
780 B

package("mini")
set_kind("library", {headeronly = true})
set_homepage("https://github.com/metayeti/mINI")
set_description("INI file reader and writer")
set_license("MIT")
add_urls("https://github.com/metayeti/mINI/archive/refs/tags/$(version).tar.gz",
"https://github.com/metayeti/mINI.git")
add_versions("0.9.15", "241e105ab074827ab8b40582aa7b04c6191f84b244603969965c0874ad4f942c")
on_install(function (package)
os.cp("src/mini", package:installdir("include"))
end)
on_test(function (package)
assert(package:check_cxxsnippets({test = [[
void test() {
mINI::INIFile file("myfile.ini");
}
]]}, {configs = {languages = "c++17"}, includes = "mini/ini.h"}))
end)