package An official xmake package repository https://xrepo.xmake.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
549 B

add_rules("mode.debug", "mode.release")
add_requires("expat", "libhubbub", "libparserutils", "libwapcaplet")
add_packages("expat", "libhubbub", "libparserutils", "libwapcaplet")
target("dom")
set_kind("$(kind)")
add_files("src/**.c", "bindings/hubbub/*.c", "bindings/xml/expat_xmlparser.c")
add_includedirs("include", "src")
add_headerfiles("include/(dom/**.h)")
add_headerfiles("(bindings/**.h)", {prefixdir = "dom"})
if is_plat("windows") and is_kind("shared") then
add_rules("utils.symbols.export_all")
end