Warning, /multimedia/amarok/src/services/ampache/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 include_directories( 0002 ../ 0003 ${Amarok_SOURCE_DIR}/src/ 0004 ${Amarok_SOURCE_DIR}/src/core-impl/collections 0005 ${Amarok_SOURCE_DIR}/src/network 0006 ${Amarok_SOURCE_DIR}/src/statusbar 0007 ${CMAKE_CURRENT_BINARY_DIR}/../../.. 0008 ) 0009 0010 if( LIBLASTFM_FOUND ) 0011 include_directories(SYSTEM 0012 ${LIBLASTFM_INCLUDE_DIR} 0013 ) 0014 endif() 0015 0016 add_subdirectory( images ) 0017 0018 ########### next target ############### 0019 0020 set(libampache_account_login_SRCS 0021 AmpacheAccountLogin.cpp) 0022 0023 add_library(ampache_account_login SHARED ${libampache_account_login_SRCS}) 0024 0025 target_link_libraries(ampache_account_login 0026 amaroklib 0027 amarokcore 0028 0029 KF5::KIOCore 0030 ) 0031 install(TARGETS ampache_account_login DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) 0032 0033 ########### next target ############### 0034 0035 set(amarok_service_ampache_PART_SRCS 0036 AmpacheService.cpp 0037 AmpacheServiceCollection.cpp 0038 AmpacheServiceQueryMaker.cpp 0039 AmpacheMeta.cpp 0040 AmpacheConfig.cpp 0041 ) 0042 if( LIBLASTFM_FOUND ) 0043 set(amarok_service_ampache_PART_SRCS 0044 ${amarok_service_ampache_PART_SRCS} 0045 LastfmInfoParser.cpp ) 0046 endif() 0047 0048 0049 add_library(amarok_service_ampache MODULE ${amarok_service_ampache_PART_SRCS}) 0050 target_link_libraries(amarok_service_ampache 0051 ampache_account_login 0052 amarokcore 0053 amaroklib 0054 0055 KF5::KIOCore 0056 KF5::ThreadWeaver 0057 Qt5::Xml 0058 ) 0059 if( LIBLASTFM_FOUND ) 0060 target_link_libraries(amarok_service_ampache 0061 ${LIBLASTFM_LIBRARY} 0062 ) 0063 endif() 0064 0065 0066 install(TARGETS amarok_service_ampache DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 0067 install(FILES amarok_service_ampache.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) 0068 0069 kcoreaddons_desktop_to_json(amarok_service_ampache amarok_service_ampache.desktop SERVICE_TYPES ${CMAKE_SOURCE_DIR}/src/amarok-plugin.desktop) 0070 0071 0072 ########### next target ############### 0073 0074 set(kcm_amarok_service_ampache_PART_SRCSS AddServerDialog.cpp AmpacheSettings.cpp AmpacheConfig.cpp ) 0075 0076 ki18n_wrap_ui( kcm_amarok_service_ampache_PART_SRCSS AmpacheConfigWidget.ui NewServerWidget.ui ) 0077 0078 0079 add_library(kcm_amarok_service_ampache MODULE ${kcm_amarok_service_ampache_PART_SRCSS} ) 0080 0081 target_link_libraries( kcm_amarok_service_ampache 0082 ampache_account_login 0083 KF5::ConfigWidgets 0084 ) 0085 0086 install(TARGETS kcm_amarok_service_ampache DESTINATION ${KDE_INSTALL_PLUGINDIR}) 0087 install(FILES amarok_service_ampache_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) 0088 0089 kcoreaddons_desktop_to_json(kcm_amarok_service_ampache amarok_service_ampache_config.desktop SERVICE_TYPES kcmodule.desktop)