add_subdirectory( Icons ) include_directories( ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/lib ${TDE_INCLUDE_DIR} ${TQT_INCLUDE_DIRS} ) link_directories( ${TQT_LIBRARY_DIRS} ) ##### palmdoc (static) ########################## tde_add_library( palmdoc STATIC_PIC AUTOMOC SOURCES makedoc9.cc pilotDOCHead.cc pilotDOCEntry.cc pilotDOCBookmark.cc DOC-converter.cc ) ##### kpalmdoc (executable) ##################### tde_add_executable( kpalmdoc AUTOMOC SOURCES kpalmdocSettings.kcfgc kpalmdoc_dlgbase.ui kpalmdoc_dlg.cc kpalmdoc.cpp LINK tdecore-shared tdeui-shared tdeio-shared kpilot-shared palmdoc-static DESTINATION ${BIN_INSTALL_DIR} ) ##### conduit_doc (kpart) ####################### tde_add_kpart( conduit_doc AUTOMOC SOURCES docconduitSettings.kcfgc doc-factory.cc doc-setup.cc doc-conduit.cc doc-setupdialog.ui doc-conflictdialog.cc LINK kpilot-shared tdeui-shared palmdoc-static DESTINATION ${PLUGIN_INSTALL_DIR} ) ##### other data ################################ install( FILES kpalmdoc.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) install( FILES kpalmdoc.upd DESTINATION ${DATA_INSTALL_DIR}/tdeconf_update ) install( FILES doc_conduit.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) install( FILES docconduit.kcfg kpalmdoc.kcfg DESTINATION ${KCFG_INSTALL_DIR} )