1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:17:35 +00:00

HackStudio/LanguageServers: Move some components out of Cpp

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 :^)
This commit is contained in:
AnotherTest 2021-03-02 09:40:10 +03:30 committed by Andreas Kling
parent 0d17cf121c
commit e59a631511
20 changed files with 400 additions and 318 deletions

View file

@ -1,5 +1,16 @@
compile_ipc(LanguageServer.ipc LanguageServerEndpoint.h)
compile_ipc(LanguageClient.ipc LanguageClientEndpoint.h)
set(SOURCES
AutoCompleteEngine.cpp
ClientConnection.cpp
FileDB.cpp)
set(GENERATED_SOURCES
LanguageClientEndpoint.h
LanguageServerEndpoint.h)
serenity_lib(LibLanguageServer language_server)
target_link_libraries(LibLanguageServer LibC)
add_subdirectory(Cpp)
add_subdirectory(Shell)