diff options
Diffstat (limited to 'lib/kofficeui/CMakeLists.txt')
-rw-r--r-- | lib/kofficeui/CMakeLists.txt | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/lib/kofficeui/CMakeLists.txt b/lib/kofficeui/CMakeLists.txt new file mode 100644 index 00000000..868ed230 --- /dev/null +++ b/lib/kofficeui/CMakeLists.txt @@ -0,0 +1,77 @@ +############################################################################### +# 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/store + ${CMAKE_SOURCE_DIR}/lib/kofficecore + ${CMAKE_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +### Libraries ################################################################# +tde_add_library(kofficeui SHARED AUTOMOC + SOURCES + KoPageLayoutDia.cpp KoZoomAction.cpp KoTabBar.cpp + KoPartSelectDia.cpp KoPartSelectAction.cpp + KoRuler.cpp KoTemplateChooseDia.cpp KoTabChooser.cpp + KoKoolBar.cpp KoTemplateCreateDia.cpp KoContextCelp.cpp + kcoloractions.cpp KoPictureFilePreview.cpp KoUnitWidgets.cpp + ttdeaction.cpp tkcoloractions.cpp tkcombobox.cpp ttdetoolbarbutton.cpp + KoCharSelectDia.cpp KoInsertLink.cpp KoEditPath.cpp KoCommandHistory.cpp + KoSelectAction.cpp Kolinewidthaction.cpp Kolinestyleaction.cpp + KoTooluButton.cpp KoBrush.cpp KoImageResource.cpp KoToolBox.cpp + KoZoomHandler.cpp KoGuideLineDia.cpp KoGuides.cpp KoZoomMode.cpp + KoGeneralPropertyUi.ui KoPageLayoutColumns.cpp KoPageLayoutColumnsBase.ui + KoPageLayoutSize.cpp KoPageLayoutHeaderBase.ui KoPageLayoutHeader.cpp + KoPen.cpp + LINK kofficecore-shared + DESTINATION ${LIB_INSTALL_DIR} +) + +### Headers ################################################################### +install( + FILES + KoPageLayoutDia.h KoZoomAction.h KoTabBar.h + KoPartSelectDia.h KoPartSelectAction.h + KoRuler.h KoTemplateChooseDia.h KoTabChooser.h + KoKoolBar.h KoTemplateCreateDia.h KoContextCelp.h + kcoloractions.h KoPictureFilePreview.h KoUnitWidgets.h + ttdeaction.h tkcoloractions.h ttdetoolbarbutton.h tkcombobox.h + KoCharSelectDia.h KoInsertLink.h KoTooluButton.h KoEditPath.h + KoCommandHistory.h KoImageResource.h + KoSelectAction.h Kolinewidthaction.h Kolinestyleaction.h + KoZoomHandler.h KoGuideLineDia.h KoGuides.h + KoPageLayoutHeader.h KoPageLayoutSize.h + KoPageLayoutColumns.h KoBrush.h KoPen.h KoZoomMode.h + DESTINATION ${INCLUDE_INSTALL_DIR}/KOffice +) + +### Widgets ################################################################### +if (HAVE_MAKETDEWIDGETS) + add_custom_command(OUTPUT kofficewidgets.cpp + COMMAND maketdewidgets -o kofficewidgets.cpp ${CMAKE_CURRENT_SOURCE_DIR}/koffice.widgets + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/koffice.widgets + ) + + tde_add_kpart(kofficewidgets AUTOMOC + SOURCES kofficewidgets.cpp + LINK tdeio-shared + DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/designer + ) +endif() + +### Data ###################################################################### +add_subdirectory(pics) + +# kate: indent-width 2; replace-tabs true;
\ No newline at end of file |