mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +02:00
This change replaces our LibXML parser with a new implementation that wraps libxml2's SAX2 API. The new Parser class uses libxml2's SAX2 callbacks to drive the existing XML::Listener interface. That preserves backward compatibility with all existing consumers (XMLDocumentBuilder, DOMParser, etc.).
10 lines
189 B
CMake
10 lines
189 B
CMake
set(SOURCES
|
|
Parser/Parser.cpp
|
|
DOM/Node.cpp
|
|
)
|
|
|
|
ladybird_lib(LibXML xml EXPLICIT_SYMBOL_EXPORT)
|
|
|
|
find_package(LibXml2 REQUIRED)
|
|
target_link_libraries(LibXML PRIVATE LibXml2::LibXml2)
|