TDE core libraries
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

98 lines
2.4 KiB

  1. #################################################
  2. #
  3. # (C) 2010 Serghei Amelian
  4. # serghei (DOT) amelian (AT) gmail.com
  5. #
  6. # Improvements and feedback are welcome
  7. #
  8. # This file is released under GPL >= 2
  9. #
  10. #################################################
  11. add_subdirectory( kssl )
  12. add_subdirectory( tdeio )
  13. add_subdirectory( bookmarks )
  14. add_subdirectory( tdefile )
  15. add_subdirectory( pics )
  16. add_subdirectory( tdeioexec )
  17. add_subdirectory( httpfilter )
  18. add_subdirectory( misc )
  19. add_subdirectory( kpasswdserver )
  20. add_subdirectory( tests )
  21. include_directories(
  22. ${TQT_INCLUDE_DIRS}
  23. )
  24. link_directories(
  25. ${TQT_LIBRARY_DIRS}
  26. ${LIBR_LIBDIR}
  27. )
  28. ##### other data ################################
  29. add_custom_command(
  30. OUTPUT tdeio.magic.mgc
  31. COMMAND file -C -m ${CMAKE_CURRENT_SOURCE_DIR}/tdeio.magic
  32. )
  33. add_custom_target(
  34. tdeio_magic_mgc
  35. ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/tdeio.magic.mgc
  36. )
  37. install( FILES tdeio.magic ${CMAKE_CURRENT_BINARY_DIR}/tdeio.magic.mgc DESTINATION ${CONFIG_INSTALL_DIR}/magic )
  38. tde_create_translated_desktop(
  39. SOURCE
  40. application.desktop kurifilterplugin.desktop
  41. kcomprfilter.desktop kscan.desktop kdatatool.desktop
  42. tdefileplugin.desktop tdecmodule.desktop
  43. DESTINATION ${SERVICETYPES_INSTALL_DIR}
  44. PO_DIR tdeio-desktops
  45. )
  46. install( FILES tdeioslave.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
  47. install( PROGRAMS useragent.pl proxytype.pl DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
  48. tde_create_translated_desktop(
  49. SOURCE renamedlgplugin.desktop
  50. DESTINATION ${SERVICETYPES_INSTALL_DIR}
  51. PO_DIR tdeio-desktops
  52. )
  53. tde_create_translated_desktop(
  54. SOURCE kpasswdserver.desktop
  55. DESTINATION ${SERVICES_INSTALL_DIR}/kded
  56. PO_DIR tdeio-desktops
  57. )
  58. tde_create_translated_desktop(
  59. SOURCE data.protocol
  60. DESTINATION ${SERVICES_INSTALL_DIR}
  61. PO_DIR tdeio-desktops
  62. )
  63. if( HAVE_ELFICON )
  64. set( ELFICON_STATIC_LIB tdelficon-static )
  65. endif( HAVE_ELFICON )
  66. ##### libtdeio ####################################
  67. set( target tdeio )
  68. configure_file( ${TDE_CMAKE_TEMPLATES}/tde_dummy_cpp.cmake dummy.cpp COPYONLY )
  69. tde_add_library( ${target} SHARED
  70. SOURCES ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp
  71. VERSION 14.0.0
  72. EMBED kssl-static tdeiocore-static tdesycoca-static kbookmarks-static tdefile-static ${ELFICON_STATIC_LIB}
  73. LINK tdeui-shared tdewalletclient-shared
  74. LINK_PRIVATE ltdlc-static tdesu-shared ${LIBR_LIBRARIES} ${ACL_LIBRARIES}
  75. DESTINATION ${LIB_INSTALL_DIR}
  76. )