xmake.lua 314 B

1234567891011
  1. add_rules("mode.debug", "mode.release")
  2. target("tree-sitter")
  3. set_kind("$(kind)")
  4. add_files("lib/src/lib.c")
  5. add_includedirs("lib/src", "lib/include")
  6. add_headerfiles("lib/include/(**.h)")
  7. if is_plat("windows") and is_kind("shared") then
  8. add_rules("utils.symbols.export_all")
  9. end