2
0

xmake.lua 573 B

123456789101112131415
  1. package("rapidhash")
  2. set_kind("library", {headeronly = true})
  3. set_description("Very fast, high quality, platform independant hashing algorithm.")
  4. set_homepage("https://github.com/Nicoshev/rapidhash")
  5. add_urls("https://github.com/Nicoshev/rapidhash.git")
  6. add_versions("2024.06.06", "e795829fedad966b627b316183901d2670a40af8")
  7. on_install(function(package)
  8. os.cp("rapidhash.h", package:installdir("include"))
  9. end)
  10. on_test(function(package)
  11. assert(package:has_cxxfuncs("rapid_mum", {includes = "rapidhash.h"}))
  12. end)