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.
25 lines
819 B
25 lines
819 B
4 years ago
|
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)
|