Warning, /office/calligra/plugins/vectorshape/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 project( vectorshape) 0002 0003 add_definitions(-DTRANSLATION_DOMAIN=\"calligra_shape_vector\") 0004 0005 include_directories(${FLAKE_INCLUDES} ${VECTORIMAGE_INCLUDES}) 0006 0007 set ( VectorShape_SRCS 0008 VectorDebug.cpp 0009 VectorShapePlugin.cpp 0010 VectorShape.cpp 0011 VectorShapeConfigWidget.cpp 0012 VectorShapeFactory.cpp 0013 #VectorCollection.cpp 0014 #VectorData.cpp 0015 VectorTool.cpp 0016 VectorToolFactory.cpp 0017 ChangeVectorDataCommand.cpp 0018 ) 0019 0020 #ki18n_wrap_ui(VectorShape_SRCS 0021 #) 0022 0023 add_library(calligra_shape_vector MODULE ${VectorShape_SRCS}) 0024 calligra_shape_desktop_to_json(calligra_shape_vector calligra_shape_vector.desktop) 0025 0026 target_link_libraries(calligra_shape_vector 0027 flake 0028 kovectorimage 0029 KF5::I18n 0030 KF5::KIOFileWidgets 0031 Qt5::Svg 0032 ) 0033 0034 install(TARGETS calligra_shape_vector DESTINATION ${PLUGIN_INSTALL_DIR}/calligra/shapes) 0035 0036 ########### install files ############### 0037 0038 if (SharedMimeInfo_FOUND) 0039 install(FILES calligra_svm.xml DESTINATION ${XDG_MIME_INSTALL_DIR}) 0040 update_xdg_mimetypes(${XDG_MIME_INSTALL_DIR}) 0041 endif () 0042 0043 ########### subdirectories ############### 0044 0045 #add_subdirectory( libemf )