TDE base libraries and programs
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

CMakeLists.txt 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. #################################################
  2. #
  3. # (C) 2010-2011 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. project( konqueror )
  12. if( NOT BUILD_LIBKONQ )
  13. include( "${TDE_CMAKE_DIR}/libkonq.cmake" )
  14. endif( NOT BUILD_LIBKONQ )
  15. add_subdirectory( client )
  16. add_subdirectory( iconview )
  17. add_subdirectory( listview )
  18. add_subdirectory( keditbookmarks )
  19. add_subdirectory( shellcmdplugin )
  20. add_subdirectory( about )
  21. add_subdirectory( pics )
  22. add_subdirectory( sidebar )
  23. add_subdirectory( preloader )
  24. add_subdirectory( quickprint )
  25. add_subdirectory( remoteencodingplugin )
  26. add_subdirectory( kttsplugin )
  27. include_directories(
  28. ${CMAKE_CURRENT_BINARY_DIR}
  29. ${CMAKE_CURRENT_SOURCE_DIR}
  30. ${CMAKE_BINARY_DIR}
  31. ${CMAKE_SOURCE_DIR}/libkonq
  32. ${TDE_INCLUDE_DIR}
  33. ${TQT_INCLUDE_DIRS}
  34. )
  35. link_directories(
  36. ${TDE_LIBRARY_DIRS}
  37. ${TQT_LIBRARY_DIRS}
  38. )
  39. ##### headers ###################################
  40. install( FILES
  41. KonquerorIface.h
  42. DESTINATION ${INCLUDE_INSTALL_DIR} )
  43. ##### other data ################################
  44. install( FILES konqueror.rc konq-simplebrowser.rc DESTINATION ${DATA_INSTALL_DIR}/konqueror )
  45. install( FILES konqueror.desktop DESTINATION ${APPS_INSTALL_DIR} )
  46. install( FILES konqfilemgr.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden )
  47. install( FILES konqueror.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
  48. install( FILES
  49. kfmclient.desktop kfmclient_dir.desktop kfmclient_html.desktop
  50. kfmclient_war.desktop konqbrowser.desktop konquerorsu.desktop
  51. Home.desktop
  52. DESTINATION ${XDG_APPS_INSTALL_DIR} )
  53. set( PROFILEDIR ${DATA_INSTALL_DIR}/konqueror/profiles )
  54. install( FILES profile_webbrowsing.desktop DESTINATION ${PROFILEDIR} RENAME webbrowsing )
  55. install( FILES profile_filemanagement.desktop DESTINATION ${PROFILEDIR} RENAME filemanagement )
  56. install( FILES profile_midnightcommander.desktop DESTINATION ${PROFILEDIR} RENAME midnightcommander )
  57. install( FILES profile_tabbedbrowsing.desktop DESTINATION ${PROFILEDIR} RENAME tabbedbrowsing )
  58. install( FILES profile_kde_devel.desktop DESTINATION ${PROFILEDIR} RENAME kde_devel )
  59. install( FILES profile_simplebrowser.desktop DESTINATION ${PROFILEDIR} RENAME simplebrowser )
  60. ##### konqueror_intern (static lib) #############
  61. set( target konqueror_intern )
  62. set( ${target}_SRCS
  63. konq_settingsxt.kcfgc
  64. )
  65. tde_add_library( ${target} STATIC_PIC
  66. SOURCES ${${target}_SRCS}
  67. )
  68. ##### konqueror (tdeinit) #######################
  69. set( target konqueror )
  70. set( ${target}_SRCS
  71. konq_main.cc KonquerorIface.cc KonquerorIface.skel
  72. KonqMainWindowIface.cc KonqMainWindowIface.skel
  73. KonqViewIface.cc KonqViewIface.skel konq_guiclients.cc
  74. konq_run.cc konq_view.cc konq_viewmgr.cc konq_misc.cc
  75. konq_frame.cc konq_tabs.cc konq_actions.cc konq_profiledlg.cc
  76. konq_factory.cc konq_combo.cc konq_browseriface.cc
  77. delayedinitializer.cc konq_mainwindow.cc konq_extensionmanager.cc
  78. )
  79. tde_add_tdeinit_executable( ${target} AUTOMOC
  80. SOURCES ${${target}_SRCS}
  81. LINK konqueror_intern-static konq-shared tdeutils-shared
  82. )
  83. ##### install import cmake modules ###############
  84. tde_install_export( )