############################################################################### # Trinity KOffice # # --------------- # # This file is licensed under the terms of GNU GPL v3 or later. # # Improvements and feedback are welcome. # ############################################################################### include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/lib/kofficecore ${CMAKE_SOURCE_DIR}/lib/kofficeui ${CMAKE_SOURCE_DIR}/lib/store ${CMAKE_SOURCE_DIR}/lib/kwmf ${CMAKE_SOURCE_DIR}/lib/kopalette ${CMAKE_BINARY_DIR} ${TDE_INCLUDE_DIR} ${TQT_INCLUDE_DIRS} ) link_directories( ${TQT_LIBRARY_DIRS} ) ### Libraries ################################################################# tde_add_kpart(libexamplepart SHARED AUTOMOC SOURCES example_part.cpp example_view.cpp example_factory.cpp LINK kofficeui-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) ### Programs ################################################################## tde_add_tdeinit_executable(example AUTOMOC SOURCES main.cpp LINK kofficeui-shared ) ### Data ###################################################################### install( FILES example.rc example_readonly.rc DESTINATION ${DATA_INSTALL_DIR}/example ) tde_create_translated_desktop( SOURCE example.desktop PO_DIR koffice-desktops ) tde_create_translated_desktop( SOURCE examplepart.desktop DESTINATION ${SERVICES_INSTALL_DIR} PO_DIR koffice-desktops ) tde_create_translated_desktop( SOURCE x-vnd.kde.example.desktop DESTINATION ${MIME_INSTALL_DIR}/application PO_DIR koffice-desktops ) # kate: indent-width 2; replace-tabs true;