Add mem package (#245)
* Create xmake.lua * Update xmake.lua * Update xmake.lua * Update xmake.luapull/246/head
parent
d74329813a
commit
c5815c175b
1 changed files with 18 additions and 0 deletions
@ -0,0 +1,18 @@ |
||||
package("mem") |
||||
|
||||
set_homepage("https://github.com/0x1F9F1/mem") |
||||
set_description("A collection of C++11 headers useful for reverse engineering") |
||||
|
||||
set_urls("https://github.com/0x1F9F1/mem") |
||||
|
||||
add_versions("0.1.0", "2be6647b8f4c5cdbbd6799eaca80ad6bda07cb2097a0ddd705acff748507f615") |
||||
add_deps("cmake") |
||||
|
||||
on_install("windows", function (package) |
||||
local configs = {} |
||||
import("package.tools.cmake").install(package, configs) |
||||
end) |
||||
|
||||
on_test(function (package) |
||||
assert(package:has_cxxfuncs("mem::module::main()", {includes = "mem/module.h", configs = {languages = "c++11"}})) |
||||
end) |
Loading…
Reference in new issue