Warning, /office/calligra/plugins/defaultTools/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 project( defaulttools )
0002 
0003 add_definitions(-DTRANSLATION_DOMAIN=\"calligra-defaulttools\")
0004 
0005 include_directories(
0006     ${TEXTLAYOUT_INCLUDES} # needed because ConnectionTool.cpp includes TextShape.h to get the id
0007     ${CMAKE_SOURCE_DIR}/libs/widgets
0008     ${FLAKE_INCLUDES}
0009     ${TEXTLAYOUT_INCLUDES}
0010 )
0011 
0012 add_subdirectory(pics)
0013 
0014 
0015 ########### Flake Plugin library ###############
0016 
0017 set ( defaulttools_SRCS
0018     Plugin.cpp
0019     defaulttool/DefaultTool.cpp
0020     defaulttool/DefaultToolFactory.cpp
0021     defaulttool/DefaultToolWidget.cpp
0022     defaulttool/DefaultToolArrangeWidget.cpp
0023     defaulttool/DefaultToolTransformWidget.cpp
0024     defaulttool/ShapeMoveStrategy.cpp
0025     defaulttool/ShapeResizeStrategy.cpp
0026     defaulttool/ShapeRotateStrategy.cpp
0027     defaulttool/ShapeShearStrategy.cpp
0028     defaulttool/SelectionDecorator.cpp
0029     defaulttool/SelectionTransformCommand.cpp
0030     defaulttool/ChartResizeStrategy.cpp
0031 
0032     guidestool/GuidesTool.cpp
0033     guidestool/GuidesToolFactory.cpp
0034     guidestool/GuidesToolOptionWidget.cpp
0035     guidestool/InsertGuidesToolOptionWidget.cpp
0036 
0037     connectionTool/ConnectionTool.cpp
0038     connectionTool/ConnectionToolFactory.cpp
0039     connectionTool/AddConnectionPointCommand.cpp
0040     connectionTool/RemoveConnectionPointCommand.cpp
0041     connectionTool/ChangeConnectionPointCommand.cpp
0042     connectionTool/MoveConnectionPointStrategy.cpp
0043     connectionTool/ConnectionPointWidget.cpp
0044 )
0045 
0046 ki18n_wrap_ui(defaulttools_SRCS
0047     defaulttool/DefaultToolWidget.ui
0048     defaulttool/DefaultToolArrangeWidget.ui
0049     defaulttool/DefaultToolTransformWidget.ui
0050     guidestool/GuidesToolOptionWidget.ui
0051     guidestool/InsertGuidesToolOptionWidget.ui
0052     connectionTool/ConnectionPointWidget.ui
0053 )
0054 
0055 add_library(calligra_tool_defaults MODULE ${defaulttools_SRCS})
0056 calligra_tool_desktop_to_json(calligra_tool_defaults calligra_tool_defaults.desktop)
0057 target_link_libraries(calligra_tool_defaults flake kowidgets)
0058 install(TARGETS calligra_tool_defaults DESTINATION ${PLUGIN_INSTALL_DIR}/calligra/tools)