mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:25:10 +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.
22 lines
516 B
CMake
22 lines
516 B
CMake
serenity_component(
|
|
NotificationServer
|
|
REQUIRED
|
|
TARGETS NotificationServer
|
|
)
|
|
|
|
compile_ipc(NotificationServer.ipc NotificationServerEndpoint.h)
|
|
compile_ipc(NotificationClient.ipc NotificationClientEndpoint.h)
|
|
|
|
set(SOURCES
|
|
ConnectionFromClient.cpp
|
|
main.cpp
|
|
NotificationWindow.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
NotificationServerEndpoint.h
|
|
NotificationClientEndpoint.h
|
|
)
|
|
|
|
serenity_bin(NotificationServer)
|
|
target_link_libraries(NotificationServer PRIVATE LibCore LibGfx LibGUI LibIPC LibMain)
|