xmake.lua 601 B

1234567891011121314151617
  1. package("lexy")
  2. set_kind("library", {headeronly = true})
  3. set_homepage("https://lexy.foonathan.net")
  4. set_description("C++ parsing DSL")
  5. set_license("BSL-1.0")
  6. add_urls("https://github.com/foonathan/lexy.git")
  7. add_versions("2022.12.1", "f68737b725116d00e5582602e22604a14fc26547")
  8. add_versions("2022.03.21", "10342c6b1a03cbc6254c64064b419799a7993e0e")
  9. on_install(function (package)
  10. os.cp("include", package:installdir())
  11. end)
  12. on_test(function (package)
  13. assert(package:has_cxxincludes("lexy/dsl.hpp", {configs = {languages = "c++17"}}))
  14. end)