diff options
author | AnotherTest <ali.mpfard@gmail.com> | 2021-03-02 09:40:10 +0330 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-04 11:21:43 +0100 |
commit | e59a6315111cdbe6d44e285ffc38e9e823d058ee (patch) | |
tree | 34a93ea3d51ee918f7e0b23eda464fb5ea74f0d2 /Userland/DevTools/HackStudio/LanguageServers/CMakeLists.txt | |
parent | 0d17cf121ccd8522a21c54623e9a8994ed6c1ab2 (diff) | |
download | serenity-e59a6315111cdbe6d44e285ffc38e9e823d058ee.zip |
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 :^)
Diffstat (limited to 'Userland/DevTools/HackStudio/LanguageServers/CMakeLists.txt')
-rw-r--r-- | Userland/DevTools/HackStudio/LanguageServers/CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Userland/DevTools/HackStudio/LanguageServers/CMakeLists.txt b/Userland/DevTools/HackStudio/LanguageServers/CMakeLists.txt index afcc0118d0..110e7cca21 100644 --- a/Userland/DevTools/HackStudio/LanguageServers/CMakeLists.txt +++ b/Userland/DevTools/HackStudio/LanguageServers/CMakeLists.txt @@ -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) |