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.
20 lines
732 B
20 lines
732 B
package("veil") |
|
set_kind("library", {headeronly = true}) |
|
set_homepage("https://github.com/MiroKaku/Veil") |
|
set_description("Windows internal undocumented API.") |
|
set_license("MIT") |
|
|
|
add_urls("https://github.com/MiroKaku/Veil.git") |
|
add_versions("2023.07.19", "56464db15ebede014195ba82e2dc46d302c83798") |
|
|
|
on_install("windows", function (package) |
|
package:add("syslinks", "ntdll") |
|
io.replace("Veil.h", "#pragma comment(lib, \"ntdll.lib\")", "", {plain = true}) |
|
|
|
os.cp("Veil", package:installdir("include")) |
|
os.cp("veil.h", package:installdir("include")) |
|
end) |
|
|
|
on_test(function (package) |
|
assert(package:has_cxxfuncs("NtReadFile", {includes = "veil.h"})) |
|
end)
|
|
|