Warning, /office/calligra/libs/rdf/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 if(BUILD_TESTING) 0002 add_subdirectory( tests ) 0003 endif() 0004 0005 kde_enable_exceptions() 0006 0007 include_directories( ${KORDF_INCLUDES}) 0008 0009 ########### next target ############### 0010 0011 set(kordf_LIB_SRCS 0012 KoDocumentRdf.cpp 0013 KoDocumentRdfEditWidget.cpp 0014 KoSopranoTableModelDelegate.cpp 0015 KoSopranoTableModel.cpp 0016 KoRdfPrefixMapping.cpp 0017 KoSemanticStylesheet.cpp 0018 KoRdfBasicSemanticItem.cpp 0019 KoRdfSemanticItem.cpp 0020 KoRdfSemanticItemFactoryBase.cpp 0021 KoRdfSemanticItemRegistry.cpp 0022 KoRdfSemanticItemViewSite.cpp 0023 KoRdfSemanticTree.cpp 0024 KoRdfSemanticTreeWidgetItem.cpp 0025 KoSemanticStylesheetsEditor.cpp 0026 KoChangeTrackerDisabledRAII.cpp 0027 RdfSemanticTreeWidgetAction.cpp 0028 RdfSemanticTreeWidgetSelectAction.cpp 0029 InsertSemanticObjectActionBase.cpp 0030 InsertSemanticObjectCreateAction.cpp 0031 InsertSemanticObjectReferenceAction.cpp 0032 ) 0033 0034 ki18n_wrap_ui( kordf_LIB_SRCS 0035 KoDocumentRdfEditWidget.ui 0036 KoSemanticStylesheetsEditor.ui 0037 ) 0038 0039 add_library(kordf SHARED ${kordf_LIB_SRCS}) 0040 0041 target_link_libraries(kordf 0042 PUBLIC 0043 komain 0044 ${SOPRANO_LIBRARIES} 0045 PRIVATE 0046 koplugin 0047 ) 0048 0049 set_target_properties(kordf PROPERTIES 0050 VERSION ${GENERIC_CALLIGRA_LIB_VERSION} SOVERSION ${GENERIC_CALLIGRA_LIB_SOVERSION} 0051 ) 0052 install(TARGETS kordf ${INSTALL_TARGETS_DEFAULT_ARGS} ) 0053 0054 # TODO: with the new embedded JSON data for plugins there is no schema ATM to define extended properties 0055 # calligra_semanticitem.desktop 0056 0057 if (SHOULD_BUILD_DEVEL_HEADERS) 0058 0059 install( FILES 0060 kordf_export.h 0061 RdfForward.h 0062 KoDocumentRdf.h 0063 KoDocumentRdfEditWidget.h 0064 KoRdfPrefixMapping.h 0065 KoRdfBasicSemanticItem.h 0066 KoRdfSemanticItem.h 0067 KoRdfSemanticItemFactoryBase.h 0068 KoRdfSemanticItemRegistry.h 0069 KoRdfSemanticItemViewSite.h 0070 KoRdfSemanticTree.h 0071 KoRdfSemanticTreeWidgetItem.h 0072 KoSemanticStylesheet.h 0073 KoSemanticStylesheetsEditor.h 0074 RdfSemanticTreeWidgetAction.h 0075 RdfSemanticTreeWidgetSelectAction.h 0076 DESTINATION ${INCLUDE_INSTALL_DIR}/calligra COMPONENT Devel) 0077 0078 endif()