mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:17:35 +00:00

This adds component declarations so that users can select to not build certain parts of the OS.
21 lines
352 B
CMake
21 lines
352 B
CMake
serenity_component(
|
|
Piano
|
|
RECOMMENDED
|
|
TARGETS Piano
|
|
DEPENDS AudioServer
|
|
)
|
|
|
|
set(SOURCES
|
|
Track.cpp
|
|
TrackManager.cpp
|
|
KeysWidget.cpp
|
|
KnobsWidget.cpp
|
|
main.cpp
|
|
MainWidget.cpp
|
|
RollWidget.cpp
|
|
SamplerWidget.cpp
|
|
WaveWidget.cpp
|
|
)
|
|
|
|
serenity_app(Piano ICON app-piano)
|
|
target_link_libraries(Piano LibAudio LibGUI)
|