Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
1 | add_definitions(-DTRANSLATION_DOMAIN=\"kcm_pulseaudio\") | ||||
---|---|---|---|---|---|
2 | | ||||
1 | include_directories(${PULSEAUDIO_INCLUDE_DIR} ${GLIB2_INCLUDE_DIR}) | 3 | include_directories(${PULSEAUDIO_INCLUDE_DIR} ${GLIB2_INCLUDE_DIR}) | ||
2 | 4 | | |||
3 | set(cpp_SRCS | 5 | set(cpp_SRCS | ||
4 | card.cpp | 6 | card.cpp | ||
5 | client.cpp | 7 | client.cpp | ||
6 | context.cpp | 8 | context.cpp | ||
7 | device.cpp | 9 | device.cpp | ||
8 | maps.cpp | 10 | maps.cpp | ||
Show All 11 Lines | |||||
20 | volumeobject.cpp | 22 | volumeobject.cpp | ||
21 | debug.cpp | 23 | debug.cpp | ||
22 | server.cpp | 24 | server.cpp | ||
23 | streamrestore.cpp | 25 | streamrestore.cpp | ||
24 | module.cpp | 26 | module.cpp | ||
25 | canberracontext.cpp | 27 | canberracontext.cpp | ||
26 | qml/globalactioncollection.cpp | 28 | qml/globalactioncollection.cpp | ||
27 | qml/plugin.cpp | 29 | qml/plugin.cpp | ||
30 | qml/microphoneindicator.cpp | ||||
28 | qml/volumeosd.cpp | 31 | qml/volumeosd.cpp | ||
29 | qml/volumefeedback.cpp | 32 | qml/volumefeedback.cpp | ||
30 | ) | 33 | ) | ||
31 | 34 | | |||
32 | set(qml_SRCS | 35 | set(qml_SRCS | ||
33 | qml/qmldir | 36 | qml/qmldir | ||
34 | qml/PulseObjectFilterModel.qml | 37 | qml/PulseObjectFilterModel.qml | ||
35 | ) | 38 | ) | ||
Show All 13 Lines | |||||
49 | 52 | | |||
50 | add_library(plasma-volume-declarative SHARED ${dbus_SRCS} ${cpp_SRCS} ${qml_SRCS}) | 53 | add_library(plasma-volume-declarative SHARED ${dbus_SRCS} ${cpp_SRCS} ${qml_SRCS}) | ||
51 | target_link_libraries(plasma-volume-declarative | 54 | target_link_libraries(plasma-volume-declarative | ||
52 | Qt5::Core | 55 | Qt5::Core | ||
53 | Qt5::Gui | 56 | Qt5::Gui | ||
54 | Qt5::DBus | 57 | Qt5::DBus | ||
55 | Qt5::Quick | 58 | Qt5::Quick | ||
56 | KF5::GlobalAccel | 59 | KF5::GlobalAccel | ||
60 | KF5::I18n | ||||
61 | KF5::Notifications | ||||
57 | Canberra::Canberra | 62 | Canberra::Canberra | ||
58 | ${PULSEAUDIO_LIBRARY} | 63 | ${PULSEAUDIO_LIBRARY} | ||
59 | ${PULSEAUDIO_MAINLOOP_LIBRARY} | 64 | ${PULSEAUDIO_MAINLOOP_LIBRARY} | ||
60 | ${GOBJECT_LIBRARIES} | 65 | ${GOBJECT_LIBRARIES} | ||
61 | ) | 66 | ) | ||
62 | 67 | | |||
63 | if (USE_GCONF) | 68 | if (USE_GCONF) | ||
64 | target_link_libraries(plasma-volume-declarative | 69 | target_link_libraries(plasma-volume-declarative | ||
Show All 16 Lines |