ladybird/Userland/Libraries/LibRegex/CMakeLists.txt
Andrew Kaster 1ae0cfd08b CMake+Userland: Use CMakeLists from Userland to build Lagom Libraries
Also do this for Shell.

This greatly simplifies the CMakeLists in Lagom, replacing many glob
patterns with a big list of libraries. There are still a few special
libraries that need some help to conform to the pattern, like LibELF and
LibWebView.

It also lets us remove essentially all of the Serenity or Lagom binary
directory detection logic from code generators, as now both projects
directories enter the generator logic from the same place.
2022-10-16 16:36:39 +02:00

14 lines
266 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)
target_link_libraries(LibRegex LibC LibCore LibUnicode)