|
|
|
#################################################
|
|
|
|
#
|
|
|
|
# (C) 2010 Serghei Amelian
|
|
|
|
# serghei (DOT) amelian (AT) gmail.com
|
|
|
|
#
|
|
|
|
# Improvements and feedback are welcome
|
|
|
|
#
|
|
|
|
# This file is released under GPL >= 2
|
|
|
|
#
|
|
|
|
#################################################
|
|
|
|
|
|
|
|
add_subdirectory( kssl )
|
|
|
|
add_subdirectory( kio )
|
|
|
|
add_subdirectory( bookmarks )
|
|
|
|
add_subdirectory( kfile )
|
|
|
|
add_subdirectory( pics )
|
|
|
|
add_subdirectory( kioexec )
|
|
|
|
add_subdirectory( httpfilter )
|
|
|
|
add_subdirectory( misc )
|
|
|
|
add_subdirectory( kpasswdserver )
|
|
|
|
add_subdirectory( tests )
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${TQT_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
|
|
|
|
link_directories(
|
|
|
|
${TQT_LIBRARY_DIRS}
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
##### other data ################################
|
|
|
|
|
|
|
|
add_custom_command(
|
|
|
|
OUTPUT kio.magic.mgc
|
|
|
|
COMMAND file -C -m ${CMAKE_CURRENT_SOURCE_DIR}/kio.magic
|
|
|
|
)
|
|
|
|
|
|
|
|
add_custom_target(
|
|
|
|
kio_magic_mgc
|
|
|
|
ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/kio.magic.mgc
|
|
|
|
)
|
|
|
|
|
|
|
|
install( FILES kio.magic ${CMAKE_CURRENT_BINARY_DIR}/kio.magic.mgc DESTINATION ${CONFIG_INSTALL_DIR}/magic )
|
|
|
|
|
|
|
|
install( FILES
|
|
|
|
application.desktop kurifilterplugin.desktop
|
|
|
|
kcomprfilter.desktop kscan.desktop kdatatool.desktop
|
|
|
|
kfileplugin.desktop kcmodule.desktop
|
|
|
|
DESTINATION ${SERVICETYPES_INSTALL_DIR} )
|
|
|
|
|
|
|
|
install( FILES kioslave.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
|
|
|
|
install( PROGRAMS useragent.pl proxytype.pl DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
|
|
|
|
install( FILES renamedlgplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
|
|
|
|
install( FILES kpasswdserver.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded )
|
|
|
|
install( FILES data.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
|
|
|
|
|
|
|
|
|
|
|
|
##### libkio ####################################
|
|
|
|
|
|
|
|
set( target kio )
|
|
|
|
|
|
|
|
configure_file( ${TDE_CMAKE_TEMPLATES}/tde_dummy_cpp.cmake dummy.cpp COPYONLY )
|
|
|
|
|
|
|
|
tde_add_library( ${target} SHARED
|
|
|
|
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp
|
|
|
|
VERSION 4.2.0
|
|
|
|
EMBED kssl-static kiocore-static ksycoca-static kbookmarks-static kfile-static
|
|
|
|
LINK kdeui-shared kwalletclient-shared
|
|
|
|
LINK_PRIVATE ltdlc-static kdesu-shared ${ACL_LIBRARIES}
|
|
|
|
DESTINATION ${LIB_INSTALL_DIR}
|
|
|
|
)
|