add meet lib repo (#5591)

* add meet lib repo

* Update xmake.lua

* Only windows is supported for the time being

* remove mingw msys

---------

Co-authored-by: star9029 <hengxings783@gmail.com>
pull/5598/head
muzili 4 weeks ago committed by GitHub
parent 51dc33b14b
commit d71b396c73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 22
      packages/m/meet/xmake.lua

@ -0,0 +1,22 @@
package("meet")
set_kind("library", {headeronly = true})
set_homepage("https://github.com/cngege/Meet")
set_description("A header_only network lib.")
set_license("MIT")
add_urls("https://github.com/cngege/Meet/archive/refs/tags/$(version).tar.gz",
"https://github.com/cngege/Meet.git")
add_versions("v0.1.2", "29f214601a25cf25fb3130e24a7b3f616aa58e662509a8b48d6a8383c12e6ca1")
on_install("windows", function (package)
os.cp("include", package:installdir())
end)
on_test(function (package)
assert(package:check_cxxsnippets({test = [[
void test() {
meet::TCPClient c;
}
]]}, {configs = {languages = "c++20"}, includes = {"meet/Meet.hpp"}}))
end)
Loading…
Cancel
Save