mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-14 15:13:07 +00:00
Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
18 lines
499 B
CMake
18 lines
499 B
CMake
serenity_component(
|
|
ShellLanguageServer
|
|
TARGETS ShellLanguageServer
|
|
)
|
|
|
|
set(SOURCES
|
|
main.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
../LanguageServerEndpoint.h
|
|
../LanguageClientEndpoint.h)
|
|
|
|
serenity_bin(ShellLanguageServer)
|
|
|
|
# We link with LibGUI because we use GUI::TextDocument to update
|
|
# the content of files according to the edit actions we receive over IPC.
|
|
target_link_libraries(ShellLanguageServer PRIVATE LibCore LibIPC LibShell LibGUI LibLanguageServer LibShellComprehension LibMain)
|