1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 20:27:46 +00:00

Userland: Properly populate GENERATED_SOURCES

We previously put the generated headers in SOURCES, which did not mark
them as GENERATED (and did not produce a proper dependency).
This commit moves all generated headers into GENERATED_SOURCES, and
removes useless header SOURCES.
This commit is contained in:
Ali Mohammad Pur 2022-10-12 15:46:13 +03:30 committed by Sam Atkins
parent c88058cea2
commit 166a905951
54 changed files with 236 additions and 97 deletions

View file

@ -10,12 +10,15 @@ compile_ipc(LookupClient.ipc LookupClientEndpoint.h)
set(SOURCES
DNSServer.cpp
LookupServer.cpp
LookupServerEndpoint.h
LookupClientEndpoint.h
ConnectionFromClient.cpp
MulticastDNS.cpp
main.cpp
)
set(GENERATED_SOURCES
LookupServerEndpoint.h
LookupClientEndpoint.h
)
serenity_bin(LookupServer)
target_link_libraries(LookupServer LibCore LibDNS LibIPC LibMain)