1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-08 05:27:14 +09:00
ladybird/Libraries/LibRegex/CMakeLists.txt
ayeteadoe a3754a7bf1 LibRegex: Annotate classes with export macro for hidden visibility
This fix demos the gradual opt-in migration process libraries can
take to switch to explicit symbol exports via the FOO_API macros.
2025-05-12 03:22:23 -06:00

14 lines
284 B
CMake

set(SOURCES
RegexByteCode.cpp
RegexLexer.cpp
RegexMatcher.cpp
RegexOptimizer.cpp
RegexParser.cpp
)
if(SERENITYOS)
list(APPEND SOURCES C/Regex.cpp)
endif()
serenity_lib(LibRegex regex EXPLICIT_SYMBOL_EXPORT)
target_link_libraries(LibRegex PRIVATE LibUnicode)