lazy_importer: add package (#5325)

* lazy_importer: add package

* limit plat
pull/5327/head
star9029 2 months ago committed by GitHub
parent e31fed0cea
commit 5f30a0b653
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 17
      packages/l/lazy_importer/xmake.lua

@ -0,0 +1,17 @@
package("lazy_importer")
set_kind("library", {headeronly = true})
set_homepage("https://github.com/JustasMasiulis/lazy_importer")
set_description("library for importing functions from dlls in a hidden, reverse engineer unfriendly way")
set_license("Apache-2.0")
add_urls("https://github.com/JustasMasiulis/lazy_importer.git")
add_versions("2023.08.02", "4810f51d63438865e508c2784ea00811d9beb2ea")
on_install("windows", "mingw", "msys", function (package)
os.cp("include", package:installdir())
end)
on_test(function (package)
assert(package:has_cxxincludes("lazy_importer.hpp"))
end)
Loading…
Cancel
Save