mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:48:10 +00:00

This adds component declarations so that users can select to not build certain parts of the OS.
19 lines
390 B
CMake
19 lines
390 B
CMake
serenity_component(
|
|
AudioServer
|
|
RECOMMENDED
|
|
TARGETS AudioServer
|
|
)
|
|
|
|
compile_ipc(AudioServer.ipc AudioServerEndpoint.h)
|
|
compile_ipc(AudioClient.ipc AudioClientEndpoint.h)
|
|
|
|
set(SOURCES
|
|
ClientConnection.cpp
|
|
Mixer.cpp
|
|
main.cpp
|
|
AudioServerEndpoint.h
|
|
AudioClientEndpoint.h
|
|
)
|
|
|
|
serenity_bin(AudioServer)
|
|
target_link_libraries(AudioServer LibCore LibThreading LibIPC)
|