Browse Source

lazy_importer: add package (#5325)

* lazy_importer: add package

* limit plat
star9029 11 tháng trước cách đây
mục cha
commit
5f30a0b653
1 tập tin đã thay đổi với 17 bổ sung0 xóa
  1. 17 0
      packages/l/lazy_importer/xmake.lua

+ 17 - 0
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)