Warning, /plasma/plasma-pa/src/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_definitions(-DTRANSLATION_DOMAIN=\"kcm_pulseaudio\")
0002 
0003 set(cpp_SRCS
0004     card.cpp
0005     client.cpp
0006     context.cpp
0007     device.cpp
0008     maps.cpp
0009     operation.cpp
0010     port.cpp
0011     profile.cpp
0012     pulseaudio.cpp
0013     pulseobject.cpp
0014     sink.cpp
0015     sinkinput.cpp
0016     modulemanager.cpp
0017     source.cpp
0018     sourceoutput.cpp
0019     stream.cpp
0020     volumemonitor.cpp
0021     volumeobject.cpp
0022     debug.cpp
0023     server.cpp
0024     streamrestore.cpp
0025     module.cpp
0026     canberracontext.cpp
0027     speakertest.cpp
0028     gsettingsitem.cpp
0029     qml/globalactioncollection.cpp
0030     qml/listitemmenu.cpp
0031     qml/plugin.cpp
0032     qml/microphoneindicator.cpp
0033     qml/volumeosd.cpp
0034     qml/volumefeedback.cpp
0035 )
0036 
0037 set(qml_SRCS
0038     qml/qmldir
0039     qml/PulseObjectFilterModel.qml
0040 )
0041 
0042 set_property(SOURCE qml/dbus/osdService.xml APPEND PROPERTY CLASSNAME OsdServiceInterface)
0043 qt_add_dbus_interface(dbus_SRCS qml/dbus/osdService.xml osdservice)
0044 
0045 add_library(plasma-volume-declarative SHARED ${dbus_SRCS} ${cpp_SRCS} ${qml_SRCS})
0046 kconfig_add_kcfg_files(plasma-volume-declarative GENERATE_MOC qml/globalconfig.kcfgc)
0047 target_link_libraries(plasma-volume-declarative
0048     Qt::Core
0049     Qt::Gui
0050     Qt::DBus
0051     Qt::Quick
0052     KF5::GlobalAccel
0053     KF5::I18n
0054     KF5::Notifications
0055     KF5::ConfigCore
0056     KF5::ConfigGui
0057     KF5::CoreAddons
0058     Canberra::Canberra
0059     PkgConfig::LIBPULSE
0060     PkgConfig::LIBPULSE_MAINLOOP
0061     PkgConfig::GIO
0062 )
0063 
0064 
0065 set(PRIVATE_QML_INSTALL_DIR ${KDE_INSTALL_QMLDIR}/org/kde/plasma/private/volume)
0066 install(TARGETS plasma-volume-declarative DESTINATION ${PRIVATE_QML_INSTALL_DIR})
0067 install(FILES ${qml_SRCS} DESTINATION ${PRIVATE_QML_INSTALL_DIR})
0068 
0069 add_subdirectory(kcm)