xmake.lua 642 B

12345678910111213141516
  1. package("plf_hive")
  2. set_kind("library", {headeronly = true})
  3. set_homepage("https://plflib.org/colony.htm")
  4. set_description("plf::hive is a fork of plf::colony to match the current C++ standards proposal.")
  5. set_license("zlib")
  6. add_urls("https://github.com/mattreecebentley/plf_hive.git")
  7. add_versions("2024.04.21", "7689475b1fa2a95228cf0f44db9c209d7e430748")
  8. on_install(function (package)
  9. os.cp("plf_hive.h", package:installdir("include"))
  10. end)
  11. on_test(function (package)
  12. assert(package:has_cxxtypes("plf::hive<int>", {configs = {languages = "c++20"}, includes = "plf_hive.h"}))
  13. end)