Warning, /office/calligra/libs/flake/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 project(flake) 0002 0003 include_directories(${FLAKE_INCLUDES} ) 0004 0005 add_subdirectory(styles) 0006 if(BUILD_TESTING) 0007 add_subdirectory(tests) 0008 endif() 0009 add_subdirectory(pics) 0010 0011 set(flake_SRCS 0012 KoGradientHelper.cpp 0013 KoFlake.cpp 0014 KoCanvasBase.cpp 0015 KoResourceManager_p.cpp 0016 KoCanvasResourceManager.cpp 0017 KoDocumentResourceManager.cpp 0018 KoCanvasObserverBase.cpp 0019 KoCanvasSupervisor.cpp 0020 KoCutController.cpp 0021 KoCopyController.cpp 0022 KoDockFactoryBase.cpp 0023 KoDockRegistry.cpp 0024 KoDataCenterBase.cpp 0025 KoInsets.cpp 0026 KoPasteController.cpp 0027 KoGuidesData.cpp 0028 KoGridData.cpp 0029 KoPathShape.cpp 0030 KoPathPoint.cpp 0031 KoPathSegment.cpp 0032 KoSelection.cpp 0033 KoShape.cpp 0034 KoShapeAnchor.cpp 0035 KoShapeBasedDocumentBase.cpp 0036 KoShapeApplicationData.cpp 0037 KoShapeContainer.cpp 0038 KoShapeContainerModel.cpp 0039 KoShapeContainerDefaultModel.cpp 0040 KoShapeGroup.cpp 0041 KoShapeManagerPaintingStrategy.cpp 0042 KoShapeManager.cpp 0043 KoShapePaintingContext.cpp 0044 KoShapePainter.cpp 0045 KoFrameShape.cpp 0046 KoUnavailShape.cpp 0047 KoMarkerData.cpp 0048 KoMarker.cpp 0049 KoMarkerCollection.cpp 0050 KoMarkerSharedLoadingData.cpp 0051 #KoUnavailData.cpp 0052 #KoUnavailCollection.cpp 0053 KoToolBase.cpp 0054 KoCanvasController.cpp 0055 KoCanvasControllerWidget.cpp 0056 KoCanvasControllerWidgetViewport_p.cpp 0057 KoShapeRegistry.cpp 0058 KoDeferredShapeFactoryBase.cpp 0059 KoToolFactoryBase.cpp 0060 KoPathShapeFactory.cpp 0061 KoShapeFactoryBase.cpp 0062 KoShapeUserData.cpp 0063 KoParameterShape.cpp 0064 KoPointerEvent.cpp 0065 KoShapeController.cpp 0066 KoToolSelection.cpp 0067 KoShapeLayer.cpp 0068 KoPostscriptPaintDevice.cpp 0069 KoInputDevice.cpp 0070 KoToolManager_p.cpp 0071 KoToolManager.cpp 0072 KoToolRegistry.cpp 0073 KoToolProxy.cpp 0074 KoShapeSavingContext.cpp 0075 KoShapeLoadingContext.cpp 0076 KoLoadingShapeUpdater.cpp 0077 KoPathShapeLoader.cpp 0078 KoShapeStrokeModel.cpp 0079 KoShapeStroke.cpp 0080 KoShapeBackground.cpp 0081 KoColorBackground.cpp 0082 KoGradientBackground.cpp 0083 KoOdfGradientBackground.cpp 0084 KoHatchBackground.cpp 0085 KoPatternBackground.cpp 0086 KoShapeConfigWidgetBase.cpp 0087 KoShapeConfigFactoryBase.cpp 0088 KoDrag.cpp 0089 KoDragOdfSaveHelper.cpp 0090 KoShapeOdfSaveHelper.cpp 0091 KoShapePaste.cpp 0092 KoConnectionPoint.cpp 0093 KoConnectionShape.cpp 0094 KoConnectionShapeLoadingUpdater.cpp 0095 KoConnectionShapeFactory.cpp 0096 KoConnectionShapeConfigWidget.cpp 0097 KoSnapGuide.cpp 0098 KoSnapProxy.cpp 0099 KoSnapStrategy.cpp 0100 KoSnapData.cpp 0101 SnapGuideConfigWidget.cpp 0102 KoShapeShadow.cpp 0103 KoSharedLoadingData.cpp 0104 KoSharedSavingData.cpp 0105 KoViewConverter.cpp 0106 KoInputDeviceHandler.cpp 0107 KoInputDeviceHandlerEvent.cpp 0108 KoInputDeviceHandlerRegistry.cpp 0109 KoEventAction.cpp 0110 KoEventActionFactoryBase.cpp 0111 KoEventActionRegistry.cpp 0112 KoImageData.cpp 0113 KoImageData_p.cpp 0114 KoImageCollection.cpp 0115 KoOdfWorkaround.cpp 0116 KoFilterEffect.cpp 0117 KoFilterEffectStack.cpp 0118 KoFilterEffectFactoryBase.cpp 0119 KoFilterEffectRegistry.cpp 0120 KoFilterEffectConfigWidgetBase.cpp 0121 KoFilterEffectRenderContext.cpp 0122 KoFilterEffectLoadingContext.cpp 0123 KoTextShapeDataBase.cpp 0124 KoTosContainer.cpp 0125 KoTosContainerModel.cpp 0126 KoClipPath.cpp 0127 KoCurveFit.cpp 0128 KoAnnotationLayoutManager.cpp 0129 commands/KoShapeGroupCommand.cpp 0130 commands/KoShapeAlignCommand.cpp 0131 commands/KoShapeBackgroundCommand.cpp 0132 commands/KoShapeCreateCommand.cpp 0133 commands/KoShapeDeleteCommand.cpp 0134 commands/KoShapeDistributeCommand.cpp 0135 commands/KoShapeLockCommand.cpp 0136 commands/KoShapeMoveCommand.cpp 0137 commands/KoShapeShearCommand.cpp 0138 commands/KoShapeSizeCommand.cpp 0139 commands/KoShapeStrokeCommand.cpp 0140 commands/KoShapeUngroupCommand.cpp 0141 commands/KoShapeReorderCommand.cpp 0142 commands/KoShapeKeepAspectRatioCommand.cpp 0143 commands/KoPathBaseCommand.cpp 0144 commands/KoPathPointMoveCommand.cpp 0145 commands/KoPathControlPointMoveCommand.cpp 0146 commands/KoPathPointTypeCommand.cpp 0147 commands/KoPathPointRemoveCommand.cpp 0148 commands/KoPathPointInsertCommand.cpp 0149 commands/KoPathSegmentBreakCommand.cpp 0150 commands/KoPathBreakAtPointCommand.cpp 0151 commands/KoPathSegmentTypeCommand.cpp 0152 commands/KoPathCombineCommand.cpp 0153 commands/KoSubpathRemoveCommand.cpp 0154 commands/KoSubpathJoinCommand.cpp 0155 commands/KoParameterHandleMoveCommand.cpp 0156 commands/KoParameterToPathCommand.cpp 0157 commands/KoShapeTransformCommand.cpp 0158 commands/KoPathFillRuleCommand.cpp 0159 commands/KoConnectionShapeTypeCommand.cpp 0160 commands/KoShapeShadowCommand.cpp 0161 commands/KoPathReverseCommand.cpp 0162 commands/KoEventActionAddCommand.cpp 0163 commands/KoEventActionRemoveCommand.cpp 0164 commands/KoShapeRenameCommand.cpp 0165 commands/KoShapeRunAroundCommand.cpp 0166 commands/KoPathPointMergeCommand.cpp 0167 commands/KoShapeTransparencyCommand.cpp 0168 commands/KoShapeClipCommand.cpp 0169 commands/KoShapeUnclipCommand.cpp 0170 commands/KoPathShapeMarkerCommand.cpp 0171 commands/KoShapeConnectionChangeCommand.cpp 0172 tools/KoCreateShapeStrategy.cpp 0173 tools/KoPathToolFactory.cpp 0174 tools/KoPathTool.cpp 0175 tools/KoPathToolSelection.cpp 0176 tools/KoPathToolHandle.cpp 0177 tools/PathToolOptionWidget.cpp 0178 tools/KoPathPointRubberSelectStrategy.cpp 0179 tools/KoPathPointMoveStrategy.cpp 0180 tools/KoPathConnectionPointStrategy.cpp 0181 tools/KoPathControlPointMoveStrategy.cpp 0182 tools/KoParameterChangeStrategy.cpp 0183 tools/KoZoomTool.cpp 0184 tools/KoZoomToolFactory.cpp 0185 tools/KoZoomToolWidget.cpp 0186 tools/KoZoomStrategy.cpp 0187 tools/KoPanTool.cpp 0188 tools/KoPanToolFactory.cpp 0189 tools/KoInteractionTool.cpp 0190 tools/KoInteractionStrategy.cpp 0191 tools/KoCreateShapesTool.cpp 0192 tools/KoCreateShapesToolFactory.cpp 0193 tools/KoShapeRubberSelectStrategy.cpp 0194 tools/KoPathSegmentChangeStrategy.cpp 0195 svg/SvgUtil.cpp 0196 svg/SvgGraphicContext.cpp 0197 svg/SvgSavingContext.cpp 0198 svg/SvgWriter.cpp 0199 svg/SvgStyleWriter.cpp 0200 svg/SvgShape.cpp 0201 svg/SvgParser.cpp 0202 svg/SvgStyleParser.cpp 0203 svg/SvgGradientHelper.cpp 0204 svg/SvgPatternHelper.cpp 0205 svg/SvgFilterHelper.cpp 0206 svg/SvgCssHelper.cpp 0207 svg/SvgClipPathHelper.cpp 0208 svg/SvgLoadingContext.cpp 0209 svg/SvgShapeFactory.cpp 0210 0211 FlakeDebug.cpp 0212 ) 0213 0214 ki18n_wrap_ui(flake_SRCS 0215 tools/PathToolOptionWidgetBase.ui 0216 KoConnectionShapeConfigWidget.ui 0217 SnapGuideConfigWidget.ui 0218 tools/KoZoomToolWidget.ui 0219 ) 0220 0221 add_library(flake SHARED ${flake_SRCS}) 0222 generate_export_header(flake BASE_NAME flake) 0223 0224 target_link_libraries(flake 0225 PUBLIC 0226 pigmentcms 0227 kowidgetutils 0228 koodf 0229 kundo2 0230 PRIVATE 0231 koplugin 0232 KF5::IconThemes 0233 KF5::ConfigCore 0234 KF5::WidgetsAddons 0235 KF5::CoreAddons 0236 Qt5::Svg 0237 ) 0238 0239 set_target_properties(flake PROPERTIES 0240 VERSION ${GENERIC_CALLIGRA_LIB_VERSION} SOVERSION ${GENERIC_CALLIGRA_LIB_SOVERSION} 0241 ) 0242 0243 ########### install files ############### 0244 0245 install(TARGETS flake ${INSTALL_TARGETS_DEFAULT_ARGS}) 0246 # TODO: with the new embedded JSON data for plugins there is no schema ATM to define extended properties 0247 # flake.desktop 0248 # flaketool.desktop 0249 # flakeshape.desktop 0250 # flakedevice.desktop 0251 # presentationeventaction.desktop 0252 # scripteventaction.desktop 0253 # filtereffect.desktop 0254 0255 if (SHOULD_BUILD_DEVEL_HEADERS) 0256 0257 install( 0258 FILES 0259 KoCanvasBase.h 0260 KoCanvasController.h 0261 KoCanvasControllerWidget.h 0262 KoCanvasObserverBase.h 0263 KoCanvasSupervisor.h 0264 KoCanvasResourceManager.h 0265 KoDocumentResourceManager.h 0266 KoConnectionPoint.h 0267 KoCopyController.h 0268 KoCutController.h 0269 KoDataCenterBase.h 0270 KoDockFactoryBase.h 0271 KoDockRegistry.h 0272 KoDeferredShapeFactoryBase.h 0273 KoDrag.h 0274 KoDragOdfSaveHelper.h 0275 KoFlake.h 0276 KoFrameShape.h 0277 KoGuidesData.h 0278 KoGridData.h 0279 KoImageCollection.h 0280 KoImageData.h 0281 KoInputDevice.h 0282 KoInsets.h 0283 KoPathSegment.h 0284 KoPointerEvent.h 0285 KoRTree.h 0286 KoSelection.h 0287 KoShape.h 0288 KoShapeAnchor.h 0289 KoShapeStrokeModel.h 0290 KoToolSelection.h 0291 KoShapeContainer.h 0292 KoShapeContainerModel.h 0293 KoShapeContainerDefaultModel.h 0294 KoShapeController.h 0295 KoShapeBasedDocumentBase.h 0296 KoShapeFactoryBase.h 0297 KoShapeGroup.h 0298 KoShapeLayer.h 0299 KoShapePainter.h 0300 KoShapeLoadingContext.h 0301 KoShapeOdfSaveHelper.h 0302 KoLoadingShapeUpdater.h 0303 KoShapeConfigWidgetBase.h 0304 KoShapeManager.h 0305 KoShapeManagerPaintingStrategy.h 0306 KoShapeRegistry.h 0307 KoShapeSavingContext.h 0308 KoShapeUserData.h 0309 KoShapeApplicationData.h 0310 KoSharedSavingData.h 0311 KoTextShapeDataBase.h 0312 KoToolBase.h 0313 KoToolManager.h 0314 KoToolFactoryBase.h 0315 KoToolProxy.h 0316 KoToolRegistry.h 0317 KoFilterEffect.h 0318 KoFilterEffectStack.h 0319 KoFilterEffectFactoryBase.h 0320 KoFilterEffectRegistry.h 0321 KoFilterEffectConfigWidgetBase.h 0322 KoFilterEffectRenderContext.h 0323 KoFilterEffectLoadingContext.h 0324 commands/KoEventActionAddCommand.h 0325 commands/KoEventActionRemoveCommand.h 0326 commands/KoParameterToPathCommand.h 0327 commands/KoPathCombineCommand.h 0328 commands/KoPathControlPointMoveCommand.h 0329 commands/KoPathFillRuleCommand.h 0330 commands/KoPathPointInsertCommand.h 0331 commands/KoPathPointMergeCommand.h 0332 commands/KoPathPointMoveCommand.h 0333 commands/KoPathPointRemoveCommand.h 0334 commands/KoPathPointTypeCommand.h 0335 commands/KoPathReverseCommand.h 0336 commands/KoPathSegmentTypeCommand.h 0337 commands/KoShapeAlignCommand.h 0338 commands/KoShapeBackgroundCommand.h 0339 commands/KoShapeStrokeCommand.h 0340 commands/KoShapeCreateCommand.h 0341 commands/KoShapeDeleteCommand.h 0342 commands/KoShapeDistributeCommand.h 0343 commands/KoShapeGroupCommand.h 0344 commands/KoShapeMoveCommand.h 0345 commands/KoShapeRenameCommand.h 0346 commands/KoShapeReorderCommand.h 0347 commands/KoShapeShadowCommand.h 0348 commands/KoShapeShearCommand.h 0349 commands/KoShapeSizeCommand.h 0350 commands/KoShapeTransformCommand.h 0351 commands/KoShapeUngroupCommand.h 0352 commands/KoSubpathRemoveCommand.h 0353 commands/KoPathShapeMarkerCommand.h 0354 tools/KoInteractionTool.h 0355 tools/KoPanTool.h 0356 KoViewConverter.h 0357 DESTINATION 0358 ${INCLUDE_INSTALL_DIR}/calligra COMPONENT Devel 0359 ) 0360 0361 endif()