mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-28 14:02:51 +00:00
This makes them available for use by other language servers. Also as a bonus, update the Shell language server to discover some symbols and add go-to-definition functionality :^)
15 lines
421 B
CMake
15 lines
421 B
CMake
set(SOURCES
|
|
LexerAutoComplete.cpp
|
|
ParserAutoComplete.cpp
|
|
main.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
../LanguageServerEndpoint.h
|
|
../LanguageClientEndpoint.h)
|
|
|
|
serenity_bin(CppLanguageServer)
|
|
|
|
# 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(CppLanguageServer LibIPC LibCpp LibGUI LibLanguageServer)
|