xmake.lua 568 B

123456789101112131415161718
  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_urls("https://github.com/winsiderss/phnt.git")
  6. add_versions("2023.6.18", "7c1adb8a7391939dfd684f27a37e31f18d303944")
  7. add_syslinks("ntdll")
  8. on_install("windows", function (package)
  9. os.cp("*.h", package:installdir("include"))
  10. end)
  11. on_test(function (package)
  12. assert(package:has_cincludes("phnt_windows.h"))
  13. end)