mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-30 21:28:59 +00:00
CMake: Move library subdirectory inclusion to Libraries/CMakeLists.txt
This commit is contained in:
parent
e4fb3a86a1
commit
6548f9b6dd
Notes:
github-actions[bot]
2025-05-19 22:38:19 +00:00
Author: https://github.com/ADKaster
Commit: 6548f9b6dd
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4821
Reviewed-by: https://github.com/trflynn89 ✅
2 changed files with 34 additions and 39 deletions
31
Libraries/CMakeLists.txt
Normal file
31
Libraries/CMakeLists.txt
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
add_subdirectory(LibCompress)
|
||||||
|
add_subdirectory(LibCrypto)
|
||||||
|
add_subdirectory(LibDiff)
|
||||||
|
add_subdirectory(LibDNS)
|
||||||
|
add_subdirectory(LibGC)
|
||||||
|
add_subdirectory(LibHTTP)
|
||||||
|
add_subdirectory(LibIPC)
|
||||||
|
add_subdirectory(LibJS)
|
||||||
|
add_subdirectory(LibLine)
|
||||||
|
add_subdirectory(LibRegex)
|
||||||
|
add_subdirectory(LibRequests)
|
||||||
|
add_subdirectory(LibRIFF)
|
||||||
|
add_subdirectory(LibSyntax)
|
||||||
|
add_subdirectory(LibTest)
|
||||||
|
add_subdirectory(LibTextCodec)
|
||||||
|
add_subdirectory(LibThreading)
|
||||||
|
add_subdirectory(LibTLS)
|
||||||
|
add_subdirectory(LibUnicode)
|
||||||
|
add_subdirectory(LibURL)
|
||||||
|
add_subdirectory(LibWasm)
|
||||||
|
add_subdirectory(LibWebSocket)
|
||||||
|
add_subdirectory(LibXML)
|
||||||
|
|
||||||
|
if (ENABLE_GUI_TARGETS)
|
||||||
|
add_subdirectory(LibDevTools)
|
||||||
|
add_subdirectory(LibGfx)
|
||||||
|
add_subdirectory(LibImageDecoderClient)
|
||||||
|
add_subdirectory(LibMedia)
|
||||||
|
add_subdirectory(LibWebView)
|
||||||
|
add_subdirectory(LibWeb)
|
||||||
|
endif()
|
|
@ -352,42 +352,8 @@ if (LAGOM_TOOLS_ONLY)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Lagom Libraries
|
# Lagom Libraries
|
||||||
set(lagom_standard_libraries
|
# FIXME: Move these calls to the relevant client library CMakeLists
|
||||||
Compress
|
# Note that the Services themselves are only built if ENABLE_GUI_TARGETS, from top level.
|
||||||
Crypto
|
|
||||||
Diff
|
|
||||||
DNS
|
|
||||||
GC
|
|
||||||
HTTP
|
|
||||||
IPC
|
|
||||||
JS
|
|
||||||
Line
|
|
||||||
Regex
|
|
||||||
Requests
|
|
||||||
RIFF
|
|
||||||
Syntax
|
|
||||||
Test
|
|
||||||
TextCodec
|
|
||||||
Threading
|
|
||||||
TLS
|
|
||||||
Unicode
|
|
||||||
URL
|
|
||||||
Wasm
|
|
||||||
WebSocket
|
|
||||||
XML
|
|
||||||
)
|
|
||||||
|
|
||||||
if (ENABLE_GUI_TARGETS)
|
|
||||||
list(APPEND lagom_standard_libraries
|
|
||||||
DevTools
|
|
||||||
Gfx
|
|
||||||
ImageDecoderClient
|
|
||||||
Media
|
|
||||||
WebView
|
|
||||||
Web
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
compile_ipc(${SERENITY_PROJECT_ROOT}/Services/RequestServer/RequestClient.ipc Services/RequestServer/RequestClientEndpoint.h)
|
compile_ipc(${SERENITY_PROJECT_ROOT}/Services/RequestServer/RequestClient.ipc Services/RequestServer/RequestClientEndpoint.h)
|
||||||
compile_ipc(${SERENITY_PROJECT_ROOT}/Services/RequestServer/RequestServer.ipc Services/RequestServer/RequestServerEndpoint.h)
|
compile_ipc(${SERENITY_PROJECT_ROOT}/Services/RequestServer/RequestServer.ipc Services/RequestServer/RequestServerEndpoint.h)
|
||||||
compile_ipc(${SERENITY_PROJECT_ROOT}/Services/WebContent/WebContentServer.ipc Services/WebContent/WebContentServerEndpoint.h)
|
compile_ipc(${SERENITY_PROJECT_ROOT}/Services/WebContent/WebContentServer.ipc Services/WebContent/WebContentServerEndpoint.h)
|
||||||
|
@ -397,9 +363,7 @@ compile_ipc(${SERENITY_PROJECT_ROOT}/Services/WebContent/WebDriverServer.ipc Ser
|
||||||
compile_ipc(${SERENITY_PROJECT_ROOT}/Services/WebContent/WebUIClient.ipc Services/WebContent/WebUIClientEndpoint.h)
|
compile_ipc(${SERENITY_PROJECT_ROOT}/Services/WebContent/WebUIClient.ipc Services/WebContent/WebUIClientEndpoint.h)
|
||||||
compile_ipc(${SERENITY_PROJECT_ROOT}/Services/WebContent/WebUIServer.ipc Services/WebContent/WebUIServerEndpoint.h)
|
compile_ipc(${SERENITY_PROJECT_ROOT}/Services/WebContent/WebUIServer.ipc Services/WebContent/WebUIServerEndpoint.h)
|
||||||
|
|
||||||
foreach(lib IN LISTS lagom_standard_libraries)
|
add_serenity_subdirectory(Libraries)
|
||||||
add_serenity_subdirectory("Libraries/Lib${lib}")
|
|
||||||
endforeach()
|
|
||||||
|
|
||||||
if (ENABLE_FUZZERS)
|
if (ENABLE_FUZZERS)
|
||||||
add_subdirectory(Fuzzers)
|
add_subdirectory(Fuzzers)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue