mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +00:00

The Cpp LanguageServer tests can be run with: CppLanguageServer -t The tests now only cover some very simple autocomplete and "find declaration" use cases, but it's a start :)
16 lines
435 B
CMake
16 lines
435 B
CMake
set(SOURCES
|
|
LexerAutoComplete.cpp
|
|
ParserAutoComplete.cpp
|
|
Tests.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)
|