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.

118 lines
2.4KB

  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. include_directories(
  12. ${TQT_INCLUDE_DIRS}
  13. ${CMAKE_CURRENT_BINARY_DIR}
  14. ${CMAKE_BINARY_DIR}
  15. ${CMAKE_CURRENT_SOURCE_DIR}
  16. ${CMAKE_BINARY_DIR}/tdecore
  17. ${CMAKE_SOURCE_DIR}/dcop
  18. ${CMAKE_SOURCE_DIR}/tdecore
  19. ${CMAKE_SOURCE_DIR}/tdeui
  20. ${CMAKE_SOURCE_DIR}/tdeio
  21. ${CMAKE_SOURCE_DIR}/tdeio/tdeio
  22. )
  23. link_directories(
  24. ${TDECORE_LIBRARY_DIRS}
  25. )
  26. ##### headers ###################################
  27. install( FILES kdedmodule.h DESTINATION ${INCLUDE_INSTALL_DIR} )
  28. ##### other data ################################
  29. install( FILES kdedmodule.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
  30. install( FILES tde-applications.menu tde-applications.menu-no-kde DESTINATION ${XDG_MENU_INSTALL_DIR} )
  31. install( FILES kded.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
  32. #### kded #######################################
  33. set( target kded )
  34. set( ${target}_SRCS
  35. kded.cpp kdedmodule.cpp
  36. )
  37. # we must to export tdeinit_kded-shared because various
  38. # modules need this library
  39. tde_add_tdeinit_executable( ${target} AUTOMOC EXPORT
  40. SOURCES ${${target}_SRCS}
  41. LINK tdeio-shared
  42. )
  43. #### tdebuildsycoca ###############################
  44. set( target tdebuildsycoca )
  45. set( ${target}_SRCS
  46. tdebuildsycoca.cpp kbuildservicetypefactory.cpp
  47. kbuildservicefactory.cpp kbuildservicegroupfactory.cpp
  48. kbuildimageiofactory.cpp kbuildprotocolinfofactory.cpp
  49. kctimefactory.cpp vfolder_menu.cpp
  50. )
  51. tde_add_tdeinit_executable( ${target} AUTOMOC
  52. SOURCES ${${target}_SRCS}
  53. LINK tdeio-shared
  54. )
  55. #### kdontchangethehostname #####################
  56. set( target kdontchangethehostname )
  57. set( ${target}_SRCS
  58. khostname.cpp
  59. )
  60. tde_add_executable( ${target}
  61. SOURCES ${${target}_SRCS}
  62. LINK tdecore-shared
  63. DESTINATION ${BIN_INSTALL_DIR}
  64. )
  65. #### tde-menu ###################################
  66. set( target tde-menu )
  67. set( ${target}_SRCS
  68. tde-menu.cpp
  69. )
  70. tde_add_executable( ${target}
  71. SOURCES ${${target}_SRCS}
  72. LINK tdeio-shared
  73. DESTINATION ${BIN_INSTALL_DIR}
  74. )
  75. #### tdemimelist ##################################
  76. set( target tdemimelist )
  77. set( ${target}_SRCS
  78. tdemimelist.cpp
  79. )
  80. tde_add_executable( ${target}
  81. SOURCES ${${target}_SRCS}
  82. LINK tdeio-shared
  83. DESTINATION ${BIN_INSTALL_DIR}
  84. )