You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
120 lines
5.0 KiB
CMake
120 lines
5.0 KiB
CMake
###############################################################################
|
|
# 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_BINARY_DIR}
|
|
${CMAKE_SOURCE_DIR}/lib/kofficecore
|
|
${CMAKE_SOURCE_DIR}/lib/kofficeui
|
|
${CMAKE_SOURCE_DIR}/lib/store
|
|
${CMAKE_SOURCE_DIR}/lib/kotext
|
|
${CMAKE_SOURCE_DIR}/lib/kformula
|
|
${CMAKE_BINARY_DIR}/lib/kofficeui
|
|
${CMAKE_BINARY_DIR}/lib/kotext
|
|
${TDE_INCLUDE_DIR}
|
|
${TQT_INCLUDE_DIRS}
|
|
)
|
|
|
|
link_directories(
|
|
${TQT_LIBRARY_DIRS}
|
|
)
|
|
|
|
### Libraries #################################################################
|
|
tde_add_library(libkwordprivate SHARED AUTOMOC
|
|
SOURCES
|
|
KPrPage.cpp KPrFindReplace.cpp KPrBackDia.cpp KPrWebPresentation.cpp
|
|
KPrView.cpp KPrMSPresentationSetup.cpp KPrBrush.cpp KPrDocument.cpp
|
|
KPrSoundPlayer.cpp KPrPgConfDia.cpp KPrEffectDia.cpp KPrCommand.cpp
|
|
KPrUtils.cpp KPrEffectHandler.cpp KPrPageEffects.cpp KPrTransEffectDia.cpp
|
|
KPrObject.cpp KPrLineObject.cpp KPrRectObject.cpp KPrEllipseObject.cpp
|
|
KPrAutoformObject.cpp KPrTextObject.cpp KPrPixmapObject.cpp
|
|
KPrPieObject.cpp KPrPartObject.cpp KPrGroupObject.cpp KPrBackground.cpp
|
|
KPrGradient.cpp KPrGradientCollection.cpp KPrGotoPage.cpp KPrFactory.cpp
|
|
KPrDocumentIface.skel KPrDocumentIface.cpp
|
|
KPrViewIface.skel KPrViewIface.cpp
|
|
KPrObjectIface.skel KPrObjectIface.cpp
|
|
KPrPageIface.skel KPrPageIface.cpp
|
|
KPrSideBar.cpp insertpagedia.ui KPrConfig.cpp KPrVariableCollection.cpp
|
|
KPrTextDocument.cpp KPrPointObject.cpp KPrFreehandObject.cpp
|
|
KPrPolylineObject.cpp KPrBezierCurveObject.cpp KPrPolygonObject.cpp
|
|
KPrNoteBar.cpp KPrTextObjectIface.skel KPrTextObjectIface.cpp
|
|
KPrTextViewIface.skel KPrTextViewIface.cpp KPrPresDurationDia.cpp
|
|
KPrPieObjectIface.skel KPrPieObjectIface.cpp
|
|
KPrPolygonObjectIface.skel KPrPolygonObjectIface.cpp
|
|
KPrRectObjectIface.skel KPrRectObjectIface.cpp
|
|
KPrPixmapObjectIface.skel KPrPixmapObjectIface.cpp
|
|
KPrAutoFormObjectIface.skel KPrAutoFormObjectIface.cpp
|
|
KPrObject2DIface.skel KPrObject2DIface.cpp
|
|
KPrLineObjectIface.skel KPrLineObjectIface.cpp
|
|
KPrQuadricBezierCurveObjectIface.skel KPrQuadricBezierCurveObjectIface.cpp
|
|
KPrCubicBezierCurveObjectIface.skel KPrCubicBezierCurveObjectIface.cpp
|
|
KPrSVGPathParser.cpp shadowdialog.ui KPrShadowDialogImpl.cpp
|
|
KPrTextPreview.cpp KPrRotationDialogImpl.cpp rotationpropertyui.ui
|
|
KPrFreehandObjectIface.skel KPrFreehandObjectIface.cpp KPrStyleManager.cpp
|
|
KPrBgSpellCheck.cpp KPrMoveHelpLineDia.cpp
|
|
KPrPolyLineObjectIface.skel KPrPolyLineObjectIface.cpp
|
|
KPrDuplicateObjDia.cpp KPrClosedLineObject.cpp
|
|
KPrImportStyleDia.cpp KPrImageEffectDia.cpp imageEffectBase.ui
|
|
KPrCustomSlideShowDia.cpp KPrPBPreview.cpp penstyle.ui KPrPenStyleWidget.cpp
|
|
KPrRectPreview.cpp rectpropertyui.ui KPrRectProperty.cpp KPrPiePreview.cpp
|
|
KPrPolygonPreview.cpp KPrPicturePreview.cpp
|
|
brushpropertyui.ui gradientpropertyui.ui KPrBrushProperty.cpp
|
|
KPrGeneralProperty.cpp polygonpropertyui.ui KPrPolygonProperty.cpp
|
|
piepropertyui.ui KPrPieProperty.cpp picturepropertyui.ui
|
|
KPrPictureProperty.cpp marginui.ui KPrMarginWidget.cpp KPrTextProperty.cpp
|
|
KPrObjectProperties.cpp KPrPropertyEditor.cpp slidetransitionwidget.ui
|
|
KPrSlideTransitionDia.cpp KPrPrinterDlg.cpp KoPointArray.cpp KPrCanvas.cpp
|
|
LINK
|
|
tdecore-shared tdeui-shared kjs-shared tdefx-shared tdeparts-shared
|
|
tdespell2-shared kofficeui-shared kofficetext-shared kopainter-shared
|
|
mcop-shared
|
|
DESTINATION ${LIB_INSTALL_DIR}
|
|
)
|
|
|
|
### Part #######################################################################
|
|
tde_add_kpart(libkpresenterpart SHARED AUTOMOC
|
|
SOURCES
|
|
KPrFactoryInit.cpp
|
|
LINK
|
|
tdecore-shared tdeui-shared kjs-shared tdefx-shared tdeio-shared
|
|
tdeparts-shared
|
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
|
)
|
|
|
|
### Programs ##################################################################
|
|
tde_add_tdeinit_executable(kpresenter AUTOMOC
|
|
SOURCES main.cpp
|
|
LINK
|
|
tdecore-shared tdeui-shared kjs-shared tdefx-shared tdeio-shared
|
|
tdeparts-shared kofficecore-shared
|
|
)
|
|
|
|
### Data ######################################################################
|
|
install(
|
|
FILES kpresenter.rc kpresenter_readonly.rc
|
|
DESTINATION ${DATA_INSTALL_DIR}/kpresenter
|
|
)
|
|
|
|
tde_create_translated_desktop(
|
|
SOURCE kpresenter.desktop
|
|
PO_DIR koffice-desktops
|
|
)
|
|
|
|
tde_create_translated_desktop(
|
|
SOURCE kpresenterpart.desktop
|
|
DESTINATION ${SERVICES_INSTALL_DIR}
|
|
PO_DIR koffice-desktops
|
|
)
|
|
|
|
# add_subdirectory(data)
|
|
# add_subdirectory(dtd)
|
|
# add_subdirectory(horizontalline)
|
|
# add_subdirectory(templates)
|
|
# add_subdirectory(toolbar)
|
|
# add_subdirectory(pics)
|
|
# add_subdirectory(mailmerge) |