Warning, /network/konqueror/plugins/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 0002 find_package(Qt5TextToSpeech ${QT_REQUIRED_VERSION} QUIET) 0003 set_package_properties(Qt5TextToSpeech PROPERTIES 0004 PURPOSE "Gives Konqueror a plugin to speak portions or all of a website") 0005 0006 function (konqueror_install_plugin_in_namespaces name) 0007 install(TARGETS ${name} DESTINATION ${KDE_INSTALL_PLUGINDIR}) 0008 install(FILES ${name}.rc DESTINATION ${KDE_INSTALL_DATADIR}/konqueror/partsrcfiles) 0009 0010 # install the symlink in all the given nammespace, we do not want to duplicate the actual files 0011 set(namespace_list khtml/kpartplugins kwebkitpart/kpartplugins webenginepart/kpartplugins) 0012 foreach(INSTALL_NAMESPACE ${namespace_list}) 0013 string(REPLACE "/" "_" install_namespace_file ${INSTALL_NAMESPACE}) 0014 add_custom_command(TARGET ${name} POST_BUILD 0015 COMMAND ${CMAKE_COMMAND} -E create_symlink ../../${name}.so ${CMAKE_CURRENT_BINARY_DIR}/${name}${install_namespace_file}.so) 0016 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${name}${install_namespace_file}.so DESTINATION ${KDE_INSTALL_PLUGINDIR}/${INSTALL_NAMESPACE}) 0017 endforeach() 0018 0019 endfunction() 0020 0021 add_subdirectory( khtmlsettingsplugin ) 0022 add_subdirectory( kimgalleryplugin ) 0023 add_subdirectory( dirfilter ) 0024 add_subdirectory( uachanger ) 0025 add_subdirectory( babelfish ) 0026 add_subdirectory( webarchiver ) 0027 add_subdirectory( kget ) 0028 0029 if (Qt5TextToSpeech_FOUND) 0030 add_subdirectory(ttsplugin) 0031 endif() 0032 0033 if(UNIX) 0034 add_subdirectory( shellcmdplugin ) 0035 endif(UNIX) 0036 0037 # TODO add_subdirectory( imagerotation ) 0038 add_subdirectory( autorefresh ) 0039 if(UNIX) 0040 add_subdirectory( fsview ) 0041 endif() 0042 add_subdirectory( searchbar ) 0043 0044 add_subdirectory( akregator ) 0045