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

This fix demos the gradual opt-in migration process libraries can take to switch to explicit symbol exports via the FOO_API macros.
14 lines
284 B
CMake
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)
|