summaryrefslogtreecommitdiffstats
path: root/kpresenter/CMakeLists.txt
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-09-30 00:04:56 +0300
committerPhilippe Mavridis <philippe.mavridis@yandex.com>2025-05-15 21:00:25 +0300
commit04e86613f67d171cc965fce64a4310c0d25c98e1 (patch)
tree08a85d43bc40568f94259601339ccd7e1de11773 /kpresenter/CMakeLists.txt
parentcf85b9c285a2b9baa87c9d0cb9d683b48e82a475 (diff)
downloadkoffice-feat/cmake-port.tar.gz
koffice-feat/cmake-port.zip
WIP: CMake portfeat/cmake-port
Signed-off-by: Philippe Mavridis <philippe.mavridis@yandex.com>
Diffstat (limited to 'kpresenter/CMakeLists.txt')
-rw-r--r--kpresenter/CMakeLists.txt120
1 files changed, 120 insertions, 0 deletions
diff --git a/kpresenter/CMakeLists.txt b/kpresenter/CMakeLists.txt
new file mode 100644
index 000000000..d845c61d8
--- /dev/null
+++ b/kpresenter/CMakeLists.txt
@@ -0,0 +1,120 @@
+###############################################################################
+# 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) \ No newline at end of file