mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 01:37:39 +03:00
ce2f1b845f
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.
23 lines
435 B
CMake
23 lines
435 B
CMake
serenity_component(
|
|
AudioServer
|
|
RECOMMENDED
|
|
TARGETS AudioServer
|
|
)
|
|
|
|
compile_ipc(AudioServer.ipc AudioServerEndpoint.h)
|
|
compile_ipc(AudioClient.ipc AudioClientEndpoint.h)
|
|
|
|
set(SOURCES
|
|
ConnectionFromClient.cpp
|
|
Mixer.cpp
|
|
main.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
AudioServerEndpoint.h
|
|
AudioClientEndpoint.h
|
|
)
|
|
|
|
serenity_bin(AudioServer)
|
|
target_link_libraries(AudioServer PRIVATE LibCore LibThreading LibIPC LibMain)
|