Commit 66bed6ca authored by Boudewijn Rempt's avatar Boudewijn Rempt

Do not install any headers

There is no stable api anyway, it would too easily conflict with
calligra headers and plugins are best done in-tree for now.
parent 9c335151
project(calligra)
project(krita)
message(STATUS "Using CMake version: ${CMAKE_VERSION}")
......@@ -1181,7 +1181,6 @@ add_subdirectory(servicetypes)
add_subdirectory(devtools)
add_subdirectory(extras)
add_subdirectory(filters)
add_subdirectory(data)
macro_display_feature_log()
......@@ -1191,7 +1190,6 @@ calligra_log_should_build()
add_custom_target(apidox doc/api/gendocs.pl WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
configure_file(KoConfig.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/KoConfig.h )
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/KoConfig.h DESTINATION ${INCLUDE_INSTALL_DIR}/calligra COMPONENT Devel)
## temporary warning
if (WARN_ABOUT_CREATIVEONLY)
......
install(FILES KoGenericRegistry.h KoID.h KoChartInterface.h KoChartModel.h
DESTINATION ${INCLUDE_INSTALL_DIR}/calligra COMPONENT Devel)
add_subdirectory(tests)
########### next target ###############
########### install files ###############
install( FILES kis_tiled_data_manager.h DESTINATION ${INCLUDE_INSTALL_DIR}/krita COMPONENT Devel)
......@@ -23,22 +23,6 @@ if (SHOULD_BUILD_LIB_CALLIGRA)
add_subdirectory( kundo2 )
endif ()
if (SHOULD_BUILD_LIB_KOMAIN)
add_subdirectory( main )
endif ()
if (SHOULD_BUILD_FEATURE_SCRIPTING)
add_subdirectory( kokross )
endif ()
if (SHOULD_BUILD_LIB_KOVECTORIMAGE)
add_subdirectory( vectorimage )
endif ()
if (SHOULD_BUILD_LIB_KOPAGEAPP)
add_subdirectory( kopageapp )
endif ()
if (SHOULD_BUILD_FEATURE_RDF)
add_subdirectory( rdf )
endif ()
......@@ -25,12 +25,3 @@ set_target_properties(basicflakes PROPERTIES
)
install(TARGETS basicflakes ${INSTALL_TARGETS_DEFAULT_ARGS})
install( FILES
tools/KoCreatePathTool.h
tools/KoPencilTool.h
${CMAKE_CURRENT_BINARY_DIR}/basicflakes_export.h
DESTINATION
${INCLUDE_INSTALL_DIR}/calligra
COMPONENT Devel)
......@@ -241,107 +241,3 @@ install( FILES
scripteventaction.desktop
filtereffect.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR})
install(
FILES
KoCanvasBase.h
KoCanvasController.h
KoCanvasControllerWidget.h
KoCanvasObserverBase.h
KoCanvasSupervisor.h
KoCanvasResourceManager.h
KoDocumentResourceManager.h
KoConnectionPoint.h
KoCopyController.h
KoCutController.h
KoDataCenterBase.h
KoDockFactoryBase.h
KoDockRegistry.h
KoDeferredShapeFactoryBase.h
KoDrag.h
KoDragOdfSaveHelper.h
KoFlake.h
KoFrameShape.h
KoGuidesData.h
KoGridData.h
KoImageCollection.h
KoImageData.h
KoInputDevice.h
KoInsets.h
KoPathSegment.h
KoPointerEvent.h
KoRTree.h
KoSelection.h
KoShape.h
KoShapeAnchor.h
KoShapeStrokeModel.h
KoToolSelection.h
KoShapeContainer.h
KoShapeContainerModel.h
KoShapeContainerDefaultModel.h
KoShapeController.h
KoShapeBasedDocumentBase.h
KoShapeFactoryBase.h
KoShapeGroup.h
KoShapeLayer.h
KoShapePainter.h
KoShapeLoadingContext.h
KoShapeOdfSaveHelper.h
KoLoadingShapeUpdater.h
KoShapeConfigWidgetBase.h
KoShapeManager.h
KoShapeManagerPaintingStrategy.h
KoShapeRegistry.h
KoShapeSavingContext.h
KoShapeUserData.h
KoShapeApplicationData.h
KoSharedSavingData.h
KoTextShapeDataBase.h
KoToolBase.h
KoToolManager.h
KoToolFactoryBase.h
KoToolProxy.h
KoToolRegistry.h
KoFilterEffect.h
KoFilterEffectStack.h
KoFilterEffectFactoryBase.h
KoFilterEffectRegistry.h
KoFilterEffectConfigWidgetBase.h
KoFilterEffectRenderContext.h
KoFilterEffectLoadingContext.h
commands/KoEventActionAddCommand.h
commands/KoEventActionRemoveCommand.h
commands/KoParameterToPathCommand.h
commands/KoPathCombineCommand.h
commands/KoPathControlPointMoveCommand.h
commands/KoPathFillRuleCommand.h
commands/KoPathPointInsertCommand.h
commands/KoPathPointMergeCommand.h
commands/KoPathPointMoveCommand.h
commands/KoPathPointRemoveCommand.h
commands/KoPathPointTypeCommand.h
commands/KoPathReverseCommand.h
commands/KoPathSegmentTypeCommand.h
commands/KoShapeAlignCommand.h
commands/KoShapeBackgroundCommand.h
commands/KoShapeStrokeCommand.h
commands/KoShapeCreateCommand.h
commands/KoShapeDeleteCommand.h
commands/KoShapeDistributeCommand.h
commands/KoShapeGroupCommand.h
commands/KoShapeMoveCommand.h
commands/KoShapeRenameCommand.h
commands/KoShapeReorderCommand.h
commands/KoShapeShadowCommand.h
commands/KoShapeShearCommand.h
commands/KoShapeSizeCommand.h
commands/KoShapeTransformCommand.h
commands/KoShapeUngroupCommand.h
commands/KoSubpathRemoveCommand.h
commands/KoPathShapeMarkerCommand.h
tools/KoInteractionTool.h
tools/KoPanTool.h
KoViewConverter.h
DESTINATION
${INCLUDE_INSTALL_DIR}/calligra COMPONENT Devel
)
......@@ -160,74 +160,3 @@ install(TARGETS kotext ${INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
install( FILES texteditingplugin.desktop inlinetextobject.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})
install(
FILES
KoDocumentRdfBase.h
KoInlineObject.h
KoTextEditor.h
KoTextEditingFactory.h
KoTextEditingPlugin.h
KoTextEditingRegistry.h
KoInlineObjectRegistry.h
KoInlineObjectFactoryBase.h
KoBookmark.h
KoBookmarkManager.h
KoAnnotationManager.h
KoInlineTextObjectManager.h
KoAnchorInlineObject.h
KoAnchorTextRange.h
KoTextBlockBorderData.h
KoTextBlockData.h
KoTextDocument.h
KoText.h
KoTextRange.h
KoTextRangeManager.h
KoList.h
KoTextLocator.h
KoTextPage.h
KoTextPaste.h
KoVariable.h
KoVariableManager.h
KoTextRdfCore.h
KoTextInlineRdf.h
KoTextMeta.h
KoTextSoftPageBreak.cpp
KoSection.h
KoSectionEnd.h
KoSectionUtils.h
KoSectionModel.h
KoTextCommandBase.h
KoTextTableTemplate.h
DESTINATION
${INCLUDE_INSTALL_DIR}/calligra COMPONENT Devel
)
install(
FILES
styles/KoCharacterStyle.h
styles/KoListLevelProperties.h
styles/KoListStyle.h
styles/KoParagraphStyle.h
styles/KoTableColumnStyle.h
styles/KoTableRowStyle.h
styles/KoTableCellStyle.h
styles/KoSectionStyle.h
styles/KoStyleManager.h
styles/KoTableStyle.h
DESTINATION
${INCLUDE_INSTALL_DIR}/calligra/styles COMPONENT Devel
)
install(
FILES
changetracker/KoChangeTracker.h
changetracker/KoChangeTrackerElement.h
changetracker/KoDeletedRowColumnDataStore.h
changetracker/KoDeletedRowData.cpp
changetracker/KoDeletedColumnData.cpp
changetracker/KoDeletedCellData.cpp
DESTINATION
${INCLUDE_INSTALL_DIR}/calligra/changetracker COMPONENT Devel
)
......@@ -18,15 +18,3 @@ set_target_properties(kundo2 PROPERTIES
VERSION ${GENERIC_CALLIGRA_LIB_VERSION} SOVERSION ${GENERIC_CALLIGRA_LIB_SOVERSION}
)
install(TARGETS kundo2 ${INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES
${CMAKE_CURRENT_BINARY_DIR}/kundo2_export.h
kundo2stack.h
kundo2qstack.h
kundo2group.h
kundo2view.h
kundo2model.h
kundo2command.h
kundo2magicstring.h
DESTINATION ${INCLUDE_INSTALL_DIR}/calligra COMPONENT Devel
)
......@@ -53,39 +53,3 @@ set_target_properties(koodf PROPERTIES
VERSION ${GENERIC_CALLIGRA_LIB_VERSION} SOVERSION ${GENERIC_CALLIGRA_LIB_SOVERSION}
)
install(TARGETS koodf ${INSTALL_TARGETS_DEFAULT_ARGS} )
install( FILES
${CMAKE_CURRENT_BINARY_DIR}/koodf_export.h
KoOdf.h
KoOdfManifestEntry.h
KoGenStyle.h
KoGenStyles.h
KoFontFace.h
KoOdfLoadingContext.h
KoOasisSettings.h
KoOdfStylesReader.h
KoOdfNotesConfiguration.h
KoOdfBibliographyConfiguration.h
KoOdfNumberStyles.h
KoOdfNumberDefinition.h
KoOdfLineNumberingConfiguration.h
KoOdfPaste.h
KoOdfReadStore.h
KoOdfWriteStore.h
KoStyleStack.h
KoOdfGraphicStyles.h
KoDocumentBase.h
KoGenChange.h
KoGenChanges.h
KoEmbeddedDocumentSaver.h
KoBorder.h
Ko3dScene.h
KoShadowStyle.h
KoPageLayout.h
KoPageFormat.h
KoColumns.h
KoUnit.h
KoElementReference.h
KoTableTemplate.h
DESTINATION ${INCLUDE_INSTALL_DIR}/calligra COMPONENT Devel)
......@@ -81,45 +81,6 @@ set(pigmentcms_SRCS
resources/KoSegmentGradient.cpp
)
set(PIGMENT_INSTALL_FILES
${CMAKE_CURRENT_BINARY_DIR}/pigment_export.h
DebugPigment.h
KoBasicHistogramProducers.h
KoChannelInfo.h
KoColor.h
KoColorConversionTransformation.h
KoColorConversionTransformationAbstractFactory.h
KoColorConversionTransformationFactory.h
KoColorModelStandardIds.h
KoColorProfile.h
KoColorSpace.h
KoColorSpaceEngine.h
KoColorSpaceFactory.h
KoColorSpaceAbstract.h
KoColorSpaceConstants.h
KoColorSpaceMaths.h
KoColorSpaceRegistry.h
KoCmykColorSpaceTraits.h
KoColorSpaceTraits.h
KoGrayColorSpaceTraits.h
KoLabColorSpaceTraits.h
KoRgbColorSpaceTraits.h
KoXyzColorSpaceTraits.h
KoYcbcrColorSpaceTraits.h
KoColorTransformation.h
KoColorTransformationFactory.h
KoColorTransformationFactoryRegistry.h
KoCompositeOp.h
KoConvolutionOp.h
KoFallBackColorTransformation.h
KoIntegerMaths.h
KoLabDarkenColorTransformation.h
KoMixColorsOp.h
KoMixColorsOpImpl.h
KoHistogramProducer.h
)
set (EXTRA_LIBRARIES ${LINK_OPENEXR_LIB} ${LINK_VC_LIB})
if(MSVC OR (WIN32 AND "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel"))
......@@ -159,6 +120,3 @@ set_target_properties(pigmentcms PROPERTIES
install(TARGETS pigmentcms ${INSTALL_TARGETS_DEFAULT_ARGS})
install( FILES pigment.desktop pigmentextension.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})
install( FILES ${PIGMENT_INSTALL_FILES}
DESTINATION ${INCLUDE_INSTALL_DIR}/calligra COMPONENT Devel)
......@@ -36,8 +36,3 @@ set_target_properties(kostore PROPERTIES
)
install(TARGETS kostore ${INSTALL_TARGETS_DEFAULT_ARGS} )
install( FILES
${CMAKE_CURRENT_BINARY_DIR}/kostore_export.h
KoStore.h
DESTINATION ${INCLUDE_INSTALL_DIR}/calligra COMPONENT Devel)
......@@ -42,15 +42,3 @@ set_target_properties(kotextlayout PROPERTIES
VERSION ${GENERIC_CALLIGRA_LIB_VERSION} SOVERSION ${GENERIC_CALLIGRA_LIB_SOVERSION}
)
install(TARGETS kotextlayout ${INSTALL_TARGETS_DEFAULT_ARGS})
install(
FILES
KoTextDocumentLayout.h
KoTextLayoutArea.h
KoTextLayoutRootArea.h
KoTextShapeData.h
KoPointedAt.h
KoStyleThumbnailer.h
DESTINATION
${INCLUDE_INSTALL_DIR}/calligra COMPONENT Devel
)
include_directories( ${KOMAIN_INCLUDES} )
## add_subdirectory(demo)
########### library target ###############
......@@ -17,29 +13,3 @@ set(libemf_LIB_SRCS
EmfOutputDebugStrategy.cpp
EmfOutputPainterStrategy.cpp
)
#add_library(libemf SHARED ${libemf_LIB_SRCS})
#target_link_libraries(libemf Qt5::Gui )
#set_target_properties(libemf PROPERTIES VERSION ${GENERIC_CALLIGRA_LIB_VERSION} SOVERSION ${GENERIC_CALLIGRA_LIB_SOVERSION} )
########### install files ###############
#install(TARGETS libemf ${INSTALL_TARGETS_DEFAULT_ARGS})
#install(
# FILES
# EmfEnums.h
# EmfRecords.h
# EmfObjects.h
# EmfHeader.h
# Bitmap.h
# EmfParser.h
# EmfOutput.h
# EmfOutputDebugStrategy.h
# EmfOutputPainterStrategy.h
# emf_export.h
# DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel
#)
include_directories( ${KOMAIN_INCLUDES} )
#add_subdirectory(demo)
......@@ -17,15 +15,3 @@ set(libsvm_LIB_SRCS
#set_target_properties(libsvm PROPERTIES VERSION ${GENERIC_CALLIGRA_LIB_VERSION} SOVERSION ${GENERIC_CALLIGRA_LIB_SOVERSION} )
########### install files ###############
#install(TARGETS libsvm ${INSTALL_TARGETS_DEFAULT_ARGS})
#install(
# FILES
# SvmEnums.h
# SvmStructs.h
# svm_export.h
# DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel
#)
......@@ -19,8 +19,3 @@ set_target_properties(koversion PROPERTIES
)
install(TARGETS koversion ${INSTALL_TARGETS_DEFAULT_ARGS} )
install( FILES
${CMAKE_CURRENT_BINARY_DIR}/calligraversion.h
${CMAKE_CURRENT_BINARY_DIR}/calligragitversion.h
${CMAKE_CURRENT_BINARY_DIR}/koversion_export.h
DESTINATION ${INCLUDE_INSTALL_DIR}/calligra COMPONENT Devel)
......@@ -128,48 +128,3 @@ set_target_properties(kowidgets PROPERTIES
)
install(TARGETS kowidgets ${INSTALL_TARGETS_DEFAULT_ARGS})
install( FILES
KoGlobal.h
KoResourceItemChooserContextMenu.h
KoGenericRegistryModel.h
KoPageLayoutDialog.h
KoPageLayoutWidget.h
KoPagePreviewWidget.h
KoPositionSelector.h
${CMAKE_CURRENT_BINARY_DIR}/kowidgets_export.h
KoZoomAction.h
KoZoomController.h
KoZoomInput.h
KoDpi.h
KoZoomHandler.h
KoZoomMode.h
KoGlobal.h
KoColorPatch.h
KoStrokeConfigWidget.h
KoFillConfigWidget.h
KoShadowConfigWidget.h
KoColorPopupAction.h
KoColorSetWidget.h
KoColorSlider.h
KoDualColorButton.h
KoEditColorSetDialog.h
KoTriangleColorSelector.h
KoResourceItemChooser.h
KoResourceSelector.h
KoResourceServer.h
KoResourceServerAdapter.h
KoResourceServerObserver.h
KoResourceServerProvider.h
KoResourceTagStore.h
KoLineStyleSelector.h
KoDockWidgetTitleBar.h
KoDockWidgetTitleBarButton.h
KoResourceModelBase.h
KoGlobal.h
DESTINATION
${INCLUDE_INSTALL_DIR}/calligra
COMPONENT Devel)
......@@ -30,16 +30,3 @@ set_target_properties(kowidgetutils
)
install(TARGETS kowidgetutils ${INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES
KoGroupButton.h
KoProgressBar.h
KoProgressProxy.h
KoProgressUpdater.h
KoUpdater.h
KoProperties.h
KoFileDialog.h
${CMAKE_CURRENT_BINARY_DIR}/kowidgetutils_export.h
DESTINATION ${INCLUDE_INSTALL_DIR}/calligra
COMPONENT Devel
)
......@@ -9,10 +9,6 @@ if (SHOULD_BUILD_PLUGIN_COLORENGINES)
add_subdirectory( colorengines )
endif ()
if (SHOULD_BUILD_PLUGIN_MUSICSHAPE)
add_subdirectory( musicshape )
endif ()
if (SHOULD_BUILD_PLUGIN_SPACENAVIGATOR)
macro_optional_find_package(Spnav)
macro_log_feature(SPNAV_FOUND "Spnav" "3Dconnexion device driver and SDK" "http://spacenav.sourceforge.net/" FALSE "" "Required by SpaceNavigator 3D mouse plugin")
......@@ -29,12 +25,6 @@ if (SHOULD_BUILD_PLUGIN_DOCKERS)
add_subdirectory( dockers )
endif ()
if (SHOULD_BUILD_PLUGIN_TEXTEDITING)
add_subdirectory( textediting )
endif()
add_subdirectory( kexi )
if (SHOULD_BUILD_PLUGIN_DEFAULTTOOLS)
add_subdirectory( defaultTools )
endif ()
......@@ -43,14 +33,6 @@ if (SHOULD_BUILD_PLUGIN_PATHSHAPES)
add_subdirectory( pathshapes )
endif ()
if (SHOULD_BUILD_PLUGIN_VARIABLES)
add_subdirectory( variables )
endif ()
if (SHOULD_BUILD_PLUGIN_CHARTSHAPE)
add_subdirectory( chartshape )
endif ()
if (SHOULD_BUILD_PLUGIN_PICTURESHAPE)
add_subdirectory( pictureshape )
endif ()
......@@ -59,29 +41,8 @@ if (SHOULD_BUILD_PLUGIN_TEXTSHAPE)
add_subdirectory( textshape )
endif()
if (SHOULD_BUILD_PLUGIN_PLUGINSHAPE)
add_subdirectory( pluginshape )
endif ()
if (SHOULD_BUILD_PLUGIN_FORMULASHAPE)
add_subdirectory( formulashape )
endif ()
if (SHOULD_BUILD_PLUGIN_VECTORSHAPE)
# ??? old comment: as the vector shape depends on filters subdir (not really intuitive) lets allow disabling
add_subdirectory( vectorshape )
endif ()
if (SHOULD_BUILD_PLUGIN_VIDEOSHAPE)
add_subdirectory( videoshape )
endif ()
if(SHOULD_BUILD_PLUGIN_SEMANTICITEMS)
add_subdirectory( semanticitems )
endif()
#add_subdirectory( videoshape )
#add_subdirectory( commentshape )
add_subdirectory( staging )
add_subdirectory( karbonplugins )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment