mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-08 05:27:14 +09:00

This provides the infrastructure for taking a part list from the pattern parser and generating the actual regexp object which is used for matching against URLs from the pattern.
24 lines
605 B
CMake
24 lines
605 B
CMake
include(public_suffix)
|
|
|
|
set(SOURCES
|
|
Host.cpp
|
|
Origin.cpp
|
|
Parser.cpp
|
|
Site.cpp
|
|
URL.cpp
|
|
${PUBLIC_SUFFIX_SOURCES}
|
|
Pattern/Canonicalization.cpp
|
|
Pattern/Component.cpp
|
|
Pattern/ConstructorStringParser.cpp
|
|
Pattern/Init.cpp
|
|
Pattern/Options.cpp
|
|
Pattern/Part.cpp
|
|
Pattern/Pattern.cpp
|
|
Pattern/PatternParser.cpp
|
|
Pattern/String.cpp
|
|
Pattern/Tokenizer.cpp
|
|
)
|
|
|
|
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}>)
|