xmake.lua 665 B

12345678910111213141516171819
  1. package("phnt")
  2. set_kind("library", {headeronly = true})
  3. set_homepage("https://github.com/winsiderss/systeminformer")
  4. set_description("Native API header files for the System Informer project.")
  5. set_license("MIT")
  6. set_urls("https://github.com/winsiderss/phnt.git")
  7. add_versions("2025.05.25", "fc1f96ee976635f51faa89896d1d805eb0586350")
  8. add_versions("2023.6.18", "7c1adb8a7391939dfd684f27a37e31f18d303944")
  9. add_syslinks("ntdll")
  10. on_install("windows", function (package)
  11. os.cp("*.h", package:installdir("include"))
  12. end)
  13. on_test(function (package)
  14. assert(package:has_cincludes("phnt_windows.h"))
  15. end)