| ################################################# |
| # |
| # (C) 2010-2011 Serghei Amelian |
| # serghei (DOT) amelian (AT) gmail.com |
| # |
| # Improvements and feedback are welcome |
| # |
| # This file is released under GPL >= 2 |
| # |
| ################################################# |
| |
| project(konqueror) |
| |
| if(NOTBUILD_LIBKONQ) |
| include("${TDE_CMAKE_DIR}/libkonq.cmake") |
| endif(NOTBUILD_LIBKONQ) |
| |
| |
| add_subdirectory(client) |
| add_subdirectory(iconview) |
| add_subdirectory(listview) |
| add_subdirectory(keditbookmarks) |
| add_subdirectory(shellcmdplugin) |
| add_subdirectory(about) |
| add_subdirectory(pics) |
| add_subdirectory(sidebar) |
| add_subdirectory(preloader) |
| add_subdirectory(quickprint) |
| add_subdirectory(remoteencodingplugin) |
| add_subdirectory(kttsplugin) |
| |
| |
| include_directories( |
| ${CMAKE_CURRENT_BINARY_DIR} |
| ${CMAKE_CURRENT_SOURCE_DIR} |
| ${CMAKE_BINARY_DIR} |
| ${CMAKE_SOURCE_DIR}/libkonq |
| ${TDE_INCLUDE_DIR} |
| ${TQT_INCLUDE_DIRS} |
| ) |
| |
| link_directories( |
| ${TDE_LIBRARY_DIRS} |
| ${TQT_LIBRARY_DIRS} |
| ) |
| |
| |
| ##### headers ################################### |
| |
| install(FILES |
| KonquerorIface.h |
| DESTINATION${INCLUDE_INSTALL_DIR}) |
| |
| |
| ##### other data ################################ |
| |
| install(FILESkonqueror.rckonq-simplebrowser.rcDESTINATION${DATA_INSTALL_DIR}/konqueror) |
| |
| tde_create_translated_desktop( |
| SOURCEkonqueror.desktop |
| DESTINATION${APPS_INSTALL_DIR} |
| PO_DIRkonqueror-desktops |
| ) |
| |
| tde_create_translated_desktop( |
| SOURCEkonqfilemgr.desktop |
| DESTINATION${APPS_INSTALL_DIR}/.hidden |
| PO_DIRkonqueror-desktops |
| ) |
| |
| install(FILESkonqueror.kcfgDESTINATION${KCFG_INSTALL_DIR}) |
| |
| tde_create_translated_desktop( |
| SOURCE |
| kfmclient.desktopkfmclient_dir.desktopkfmclient_html.desktop |
| kfmclient_war.desktopkonqbrowser.desktopkonquerorsu.desktop |
| Home.desktop |
| PO_DIRkonqueror-desktops |
| ) |
| |
| set(PROFILEDIR${DATA_INSTALL_DIR}/konqueror/profiles) |
| |
| tde_create_translated_desktop( |
| SOURCEprofile_webbrowsing.desktop |
| DESTINATION${PROFILEDIR} |
| OUTPUT_NAMEwebbrowsing |
| PO_DIRkonqueror-desktops |
| ) |
| |
| tde_create_translated_desktop( |
| SOURCEprofile_filemanagement.desktop |
| DESTINATION${PROFILEDIR} |
| OUTPUT_NAMEfilemanagement |
| PO_DIRkonqueror-desktops |
| ) |
| |
| tde_create_translated_desktop( |
| SOURCEprofile_midnightcommander.desktop |
| DESTINATION${PROFILEDIR} |
| OUTPUT_NAMEmidnightcommander |
| PO_DIRkonqueror-desktops |
| ) |
| |
| tde_create_translated_desktop( |
| SOURCEprofile_tabbedbrowsing.desktop |
| DESTINATION${PROFILEDIR} |
| OUTPUT_NAMEtabbedbrowsing |
| PO_DIRkonqueror-desktops |
| ) |
| |
| tde_create_translated_desktop( |
| SOURCEprofile_kde_devel.desktop |
| DESTINATION${PROFILEDIR} |
| OUTPUT_NAMEkde_devel |
| PO_DIRkonqueror-desktops |
| ) |
| |
| tde_create_translated_desktop( |
| SOURCEprofile_simplebrowser.desktop |
| DESTINATION${PROFILEDIR} |
| OUTPUT_NAMEsimplebrowser |
| PO_DIRkonqueror-desktops |
| ) |
| |
| |
| ##### konqueror_intern (static lib) ############# |
| |
| set(targetkonqueror_intern) |
| |
| set(${target}_SRCS |
| konq_settingsxt.kcfgc |
| ) |
| |
| tde_add_library(${target}STATIC_PIC |
| SOURCES${${target}_SRCS} |
| ) |
| |
| |
| ##### konqueror (tdeinit) ####################### |
| |
| set(targetkonqueror) |
| |
| set(${target}_SRCS |
| konq_main.cppKonquerorIface.cppKonquerorIface.skel |
| KonqMainWindowIface.cppKonqMainWindowIface.skel |
| KonqViewIface.cppKonqViewIface.skelkonq_guiclients.cpp |
| konq_run.cppkonq_view.cppkonq_viewmgr.cppkonq_misc.cpp |
| konq_frame.cppkonq_tabs.cppkonq_actions.cppkonq_profiledlg.cpp |
| konq_factory.cppkonq_combo.cppkonq_browseriface.cpp |
| delayedinitializer.cppkonq_mainwindow.cppkonq_extensionmanager.cpp |
| ) |
| |
| tde_add_tdeinit_executable(${target}AUTOMOC |
| SOURCES${${target}_SRCS} |
| LINKkonqueror_intern-statickonq-sharedtdeutils-shared |
| ) |
| |
| |
| ##### install import cmake modules ############### |
| |
| tde_install_export() |