Warning, /office/calligra/sheets/shape/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 add_definitions(-DTRANSLATION_DOMAIN=\"calligra_shape_spreadsheet\") 0002 0003 include_directories( 0004 ${CMAKE_SOURCE_DIR}/sheets 0005 ${CMAKE_BINARY_DIR}/sheets 0006 ${CMAKE_SOURCE_DIR}/sheets/ui 0007 ${KOMAIN_INCLUDES} 0008 ${KOTEXT_INCLUDES} 0009 ${TEXTLAYOUT_INCLUDES} 0010 ) 0011 0012 ########### Flake Plugin library ############### 0013 0014 set (tableshape_LIB_SRCS 0015 TablePageManager.cpp 0016 TableShape.cpp 0017 TableShapeDeferredFactory.cpp 0018 TableTool.cpp 0019 TableToolFactory.cpp 0020 SheetsEditor.cpp 0021 ) 0022 0023 add_library(calligra_shape_spreadsheet-deferred MODULE ${tableshape_LIB_SRCS}) 0024 calligra_deferredplugin_desktop_to_json(calligra_shape_spreadsheet-deferred calligra_shape_spreadsheet-deferred.desktop) 0025 add_library(calligra_shape_spreadsheet MODULE TableShapeFactory.cpp) 0026 calligra_shape_desktop_to_json(calligra_shape_spreadsheet calligra_shape_spreadsheet.desktop) 0027 0028 target_link_libraries(calligra_shape_spreadsheet-deferred PUBLIC calligrasheetscommon PRIVATE KF5::Completion) 0029 target_link_libraries(calligra_shape_spreadsheet flake KF5::KDELibs4Support) 0030 0031 install(TARGETS calligra_shape_spreadsheet-deferred DESTINATION ${PLUGIN_INSTALL_DIR}/calligra/deferred) 0032 install(TARGETS calligra_shape_spreadsheet DESTINATION ${PLUGIN_INSTALL_DIR}/calligra/shapes) 0033 0034 ########### install files ############### 0035 0036 ecm_install_icons( ICONS 0037 22-actions-spreadsheetshape.png 0038 22-actions-tool_cellformatting.png 0039 32-actions-spreadsheetshape.png 0040 0041 DESTINATION ${DATA_INSTALL_DIR}/calligra/icons 0042 THEME hicolor 0043 )