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.

CMakeLists.txt 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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_BINARY_DIR}/kabc
  18. ${CMAKE_SOURCE_DIR}
  19. ${CMAKE_SOURCE_DIR}/dcop
  20. ${CMAKE_SOURCE_DIR}/tdecore
  21. ${CMAKE_SOURCE_DIR}/tdeui
  22. ${CMAKE_SOURCE_DIR}/tdeio
  23. ${CMAKE_SOURCE_DIR}/tdeio/tdeio
  24. ${CMAKE_SOURCE_DIR}/kabc
  25. ${CMAKE_SOURCE_DIR}/interfaces
  26. )
  27. link_directories(
  28. ${TQT_LIBRARY_DIRS}
  29. )
  30. ##### headers ###################################
  31. install( FILES
  32. document.h view.h editor.h plugin.h editinterface.h
  33. undointerface.h selectioninterface.h cursorinterface.h
  34. clipboardinterface.h popupmenuinterface.h viewcursorinterface.h
  35. searchinterface.h highlightinginterface.h blockselectioninterface.h
  36. codecompletioninterface.h configinterface.h markinterface.h
  37. printinterface.h wordwrapinterface.h dynwordwrapinterface.h
  38. markinterfaceextension.h configinterfaceextension.h
  39. encodinginterface.h viewstatusmsginterface.h
  40. sessionconfiginterface.h editorchooser.h documentinfo.h
  41. selectioninterfaceext.h selectionextdcopinterface.h
  42. texthintinterface.h editinterfaceext.h variableinterface.h
  43. templateinterface.h
  44. DESTINATION ${INCLUDE_INSTALL_DIR}/tdetexteditor )
  45. ##### other data ################################
  46. install( FILES
  47. tdetexteditor.desktop tdetexteditoreditor.desktop
  48. tdetexteditorplugin.desktop
  49. DESTINATION ${SERVICETYPES_INSTALL_DIR} )
  50. install( FILES
  51. kcm_tdetexteditor.desktop
  52. DESTINATION ${DATA_INSTALL_DIR}/kcm_componentchooser )
  53. ##### tdetexteditor ###############################
  54. set( target tdetexteditor )
  55. set( ${target}_SRCS
  56. tdetexteditor.cpp
  57. editinterface.cpp clipboardinterface.cpp selectioninterface.cpp searchinterface.cpp
  58. codecompletioninterface.cpp wordwrapinterface.cpp blockselectioninterface.cpp
  59. configinterface.cpp cursorinterface.cpp dynwordwrapinterface.cpp
  60. printinterface.cpp highlightinginterface.cpp markinterface.cpp
  61. popupmenuinterface.cpp undointerface.cpp viewcursorinterface.cpp
  62. editdcopinterface.cpp editdcopinterface.skel clipboarddcopinterface.cpp
  63. clipboarddcopinterface.skel selectiondcopinterface.cpp selectiondcopinterface.skel
  64. searchdcopinterface.cpp searchdcopinterface.skel markinterfaceextension.cpp
  65. configinterfaceextension.cpp encodinginterface.cpp sessionconfiginterface.cpp
  66. viewstatusmsginterface.cpp editorchooser_ui.ui editorchooser.cpp
  67. blockselectiondcopinterface.cpp documentinfo.cpp documentdcopinfo.cpp
  68. blockselectiondcopinterface.skel documentdcopinfo.skel encodingdcopinterface.cpp
  69. encodingdcopinterface.skel printdcopinterface.cpp printdcopinterface.skel
  70. undodcopinterface.cpp undodcopinterface.skel viewcursordcopinterface.cpp
  71. viewcursordcopinterface.skel viewstatusmsgdcopinterface.cpp
  72. viewstatusmsgdcopinterface.skel selectioninterfaceext.cpp selectionextdcopinterface.skel
  73. texthintinterface.cpp editinterfaceext.cpp variableinterface.cpp templateinterface.cpp
  74. )
  75. tde_add_library( ${target} SHARED AUTOMOC
  76. SOURCES ${${target}_SRCS}
  77. VERSION 0.0.0
  78. LINK tdeui-shared tdeabc-shared tdeparts-shared
  79. DEPENDENCIES dcopidl dcopidl2cpp
  80. DESTINATION ${LIB_INSTALL_DIR}
  81. )