mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:08:12 +00:00

By default, C++ auto completion will still be performed by the lexer-based logic. However, the parser-based logic can be switched on via the menubar.
16 lines
428 B
CMake
16 lines
428 B
CMake
set(SOURCES
|
|
ClientConnection.cpp
|
|
main.cpp
|
|
LexerAutoComplete.cpp
|
|
ParserAutoComplete.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)
|