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
642 B
17 lines
642 B
6 months ago
|
package("plf_hive")
|
||
|
set_kind("library", {headeronly = true})
|
||
|
set_homepage("https://plflib.org/colony.htm")
|
||
|
set_description("plf::hive is a fork of plf::colony to match the current C++ standards proposal.")
|
||
|
set_license("zlib")
|
||
|
|
||
|
add_urls("https://github.com/mattreecebentley/plf_hive.git")
|
||
|
add_versions("2024.04.21", "7689475b1fa2a95228cf0f44db9c209d7e430748")
|
||
|
|
||
|
on_install(function (package)
|
||
|
os.cp("plf_hive.h", package:installdir("include"))
|
||
|
end)
|
||
|
|
||
|
on_test(function (package)
|
||
|
assert(package:has_cxxtypes("plf::hive<int>", {configs = {languages = "c++20"}, includes = "plf_hive.h"}))
|
||
|
end)
|