mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:58:12 +00:00

This adds component declarations so that users can select to not build certain parts of the OS.
21 lines
440 B
CMake
21 lines
440 B
CMake
serenity_component(
|
|
SoundPlayer
|
|
RECOMMENDED
|
|
TARGETS SoundPlayer
|
|
DEPENDS AudioServer
|
|
)
|
|
|
|
set(SOURCES
|
|
main.cpp
|
|
PlaybackManager.cpp
|
|
SampleWidget.cpp
|
|
SoundPlayerWidgetAdvancedView.cpp
|
|
BarsVisualizationWidget.cpp
|
|
AudioAlgorithms.cpp
|
|
NoVisualizationWidget.cpp
|
|
M3UParser.cpp
|
|
PlaylistWidget.cpp
|
|
)
|
|
|
|
serenity_app(SoundPlayer ICON app-sound-player)
|
|
target_link_libraries(SoundPlayer LibAudio LibGUI)
|