Files
ladybird/Libraries/LibURL/CMakeLists.txt
Shannon Booth 5521836929 LibURL/Pattern: Add a representation of a URL Pattern 'component'
A URL pattern consists of components such as the 'port', 'password'
'hostname', etc. A component is compiled from the input to the
URLPattern constructor and is what is used for matching against
URLs to produce a match result.

This is also where the regex dependency is introduced into LibURL
to support the URLPattern implementation.
2025-02-17 19:10:39 -05:00

15 lines
337 B
CMake

include(public_suffix)
set(SOURCES
Host.cpp
Origin.cpp
Parser.cpp
Site.cpp
URL.cpp
${PUBLIC_SUFFIX_SOURCES}
)
serenity_lib(LibURL url)
target_link_libraries(LibURL PRIVATE LibUnicode LibTextCodec LibRegex)
target_compile_definitions(LibURL PRIVATE ENABLE_PUBLIC_SUFFIX=$<BOOL:${ENABLE_PUBLIC_SUFFIX_DOWNLOAD}>)