* Add entt

* Update xmake.lua

* Update xmake.lua

* Update xmake.lua

* Update xmake.lua
pull/300/head
yamashi 4 years ago committed by GitHub
parent 25fbc93f58
commit 7d5e0faf6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 24
      packages/e/entt/xmake.lua

@ -0,0 +1,24 @@
package("entt")
set_homepage("https://github.com/skypjack/entt")
set_description("Gaming meets modern C++ - a fast and reliable entity component system (ECS) and much more.")
set_urls("https://github.com/skypjack/entt/archive/$(version).tar.gz",
"https://github.com/skypjack/entt.git")
add_versions("v3.6.0", "94b7dc874acd0961cfc28cf6b0342eeb0b7c58250ddde8bdc6c101e84b74c190")
add_deps("cmake")
on_install(function (package)
local configs = {}
import("package.tools.cmake").install(package, configs)
end)
on_test(function (package)
assert(package:check_cxxsnippets({test = [[
#include <entt/entt.hpp>
void test() {
entt::registry r;
}
]]}, {configs = {languages = "c++17"}}))
end)
Loading…
Cancel
Save