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.
23 lines
731 B
23 lines
731 B
1 year ago
|
package("tweeny")
|
||
|
set_kind("library", {headeronly = true})
|
||
|
set_homepage("http://mobius3.github.io/tweeny")
|
||
|
set_description("A modern C++ tweening library")
|
||
|
set_license("MIT")
|
||
|
|
||
|
add_urls("https://github.com/mobius3/tweeny.git")
|
||
|
|
||
|
add_versions("2023.05.09", "56aab8d0f9ee516c7b6014ba5212b5551efb590e")
|
||
|
|
||
|
on_install(function (package)
|
||
|
os.cp("include", package:installdir())
|
||
|
end)
|
||
|
|
||
|
on_test(function (package)
|
||
|
assert(package:check_cxxsnippets({test = [[
|
||
|
#include <tweeny.h>
|
||
|
void test() {
|
||
|
auto helloworld = tweeny::from('h','e','l','l','o').to('w','o','r','l','d').during(50);
|
||
|
}
|
||
|
]]}, {configs = {languages = "c++11"}}))
|
||
|
end)
|