1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 11:57:35 +00:00
serenity/Userland/Services/LookupServer/CMakeLists.txt
Sergey Bugaev bb06e720de LookupServer: Implement basic mDNS support :^)
The implementation is extremely basic, and is far from fully conforming
to the spec. Among other things, it does not really work in case there
are multiple network adapters.

Nevertheless, it works quite well for the simple case! You can now do
this on your host machine:

$ ping courage.local

and same on your Serenity box:

$ ping host-machine-name.local
2021-05-05 21:16:17 +02:00

18 lines
404 B
CMake

compile_ipc(LookupServer.ipc LookupServerEndpoint.h)
compile_ipc(LookupClient.ipc LookupClientEndpoint.h)
set(SOURCES
DNSAnswer.cpp
DNSName.cpp
DNSPacket.cpp
DNSServer.cpp
LookupServer.cpp
LookupServerEndpoint.h
LookupClientEndpoint.h
ClientConnection.cpp
MulticastDNS.cpp
main.cpp
)
serenity_bin(LookupServer)
target_link_libraries(LookupServer LibCore LibIPC)