Warning, /multimedia/amarok/src/context/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 add_subdirectory( applets ) 0002 add_subdirectory( tools ) 0003 0004 0005 ########### next target ############### 0006 0007 set( amarokpud_LIB_SRCS 0008 popupdropper/libpud/PopupDropper.cpp 0009 popupdropper/libpud/PopupDropperItem.cpp 0010 popupdropper/libpud/PopupDropperView.cpp 0011 ) 0012 0013 add_library( amarokpud SHARED ${amarokpud_LIB_SRCS} ) 0014 0015 target_include_directories( amarokpud PUBLIC 0016 ${CMAKE_CURRENT_SOURCE_DIR}/popupdropper/libpud 0017 ) 0018 0019 target_link_libraries( amarokpud 0020 Qt5::Core 0021 Qt5::Gui 0022 Qt5::Widgets 0023 Qt5::Svg 0024 ) 0025 0026 install( TARGETS amarokpud ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} ) 0027 0028 0029 set(qml_plugin_qml_files 0030 qml_plugin/qmldir 0031 qml_plugin/Applet.qml 0032 qml_plugin/AppletHeader.qml 0033 ) 0034 0035 set(qml_plugin_SRCS 0036 qml_plugin/src/RatingItem.cpp 0037 qml_plugin/src/Plugin.cpp 0038 qml_plugin/src/PixmapItem.cpp 0039 ) 0040 0041 add_library(qml_plugin SHARED ${qml_plugin_SRCS}) 0042 0043 target_link_libraries(qml_plugin 0044 amarokcore 0045 Qt5::Quick 0046 KF5::QuickAddons 0047 KF5::WidgetsAddons 0048 ) 0049 0050 install( TARGETS qml_plugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/amarok/qml ) 0051 0052 install( FILES ${qml_plugin_qml_files} DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/amarok/qml ) 0053 0054 kpackage_install_package( context_qml_package org.kde.amarok.context genericqml )