mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 06:04:57 +00:00

Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
21 lines
415 B
CMake
21 lines
415 B
CMake
serenity_component(
|
|
ConfigServer
|
|
REQUIRED
|
|
TARGETS ConfigServer
|
|
)
|
|
|
|
compile_ipc(ConfigServer.ipc ConfigServerEndpoint.h)
|
|
compile_ipc(ConfigClient.ipc ConfigClientEndpoint.h)
|
|
|
|
set(SOURCES
|
|
ConnectionFromClient.cpp
|
|
main.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
ConfigServerEndpoint.h
|
|
ConfigClientEndpoint.h
|
|
)
|
|
|
|
serenity_bin(ConfigServer)
|
|
target_link_libraries(ConfigServer PRIVATE LibCore LibIPC LibMain)
|