add rtm (#1649)
parent
cf1ae53ae9
commit
4d9c5de4de
1 changed files with 16 additions and 0 deletions
@ -0,0 +1,16 @@ |
||||
package("rtm") |
||||
set_homepage("https://github.com/nfrechette/rtm") |
||||
set_description("Realtime Math") |
||||
set_license("MIT") |
||||
|
||||
add_urls("https://github.com/nfrechette/rtm/archive/refs/tags/$(version).tar.gz", |
||||
"https://github.com/nfrechette/rtm.git") |
||||
add_versions("v2.1.5", "afb05cb00b59498756ca197028de291a1960e58d5f6fcad161d8240682481eae") |
||||
|
||||
on_install("linux", "macosx", "windows", function (package) |
||||
os.cp("includes", path.join(package:installdir(), "include")) |
||||
end) |
||||
|
||||
on_test(function (package) |
||||
assert(package:has_cxxtypes("rtm::vector4d", {includes = "rtm/types.h"})) |
||||
end) |
Loading…
Reference in new issue