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.

19 lines
713 B

package("mem")
set_kind("library", {headeronly = true})
set_homepage("https://github.com/0x1F9F1/mem")
set_description("A collection of C++11 headers useful for reverse engineering")
add_urls("https://github.com/0x1F9F1/mem/archive/refs/tags/$(version).tar.gz",
"https://github.com/0x1F9F1/mem.git")
4 years ago
add_versions("1.0.0", "db1e58b040ea39ec5794fc1dcc6749c81b062579d9f6b086d035266456bccaf3")
4 years ago
on_install("windows", "linux", function (package)
os.cp("include/mem", package:installdir("include"))
end)
on_test(function (package)
assert(package:has_cxxfuncs("mem::module::main()", {includes = "mem/module.h", configs = {languages = "c++11"}}))
end)