Warning, /graphics/krita/plugins/tools/tool_transform2/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_subdirectory(tests)
0002 
0003 set(kritatooltransform_static_SRCS
0004     tool_transform_args.cc
0005     kis_transform_mask_adapter.cpp
0006     KisAnimatedTransformMaskParamsHolder.cpp
0007     kis_tool_transform.cc
0008     kis_tool_transform_config_widget.cpp
0009     kis_transform_strategy_base.cpp
0010     kis_warp_transform_strategy.cpp
0011     kis_cage_transform_strategy.cpp
0012     kis_simplified_action_policy_strategy.cpp
0013     kis_liquify_transform_strategy.cpp
0014     kis_liquify_paint_helper.cpp
0015     kis_liquify_paintop.cpp
0016     kis_liquify_properties.cpp
0017     kis_mesh_transform_strategy.cpp
0018     kis_free_transform_strategy.cpp
0019     kis_free_transform_strategy_gsl_helpers.cpp
0020     kis_perspective_transform_strategy.cpp
0021     kis_transform_utils.cpp
0022     strokes/transform_stroke_strategy.cpp
0023     strokes/inplace_transform_stroke_strategy.cpp
0024     )
0025 
0026 ki18n_wrap_ui(kritatooltransform_static_SRCS wdg_tool_transform.ui)
0027 
0028 kis_add_library(kritatooltransform_static STATIC ${kritatooltransform_static_SRCS})
0029 generate_export_header(kritatooltransform_static BASE_NAME kritatooltransform)
0030 
0031 set(kritatooltransform_SOURCES
0032   tool_transform.cc
0033 )
0034 
0035 qt5_add_resources(kritatooltransform_SOURCES tool_transform.qrc)
0036 kis_add_library(kritatooltransform MODULE ${kritatooltransform_SOURCES})
0037 
0038 target_link_libraries(kritatooltransform_static
0039   PUBLIC
0040     kritaui
0041 )
0042 
0043 if (NOT GSL_FOUND)
0044   message (WARNING "KRITA WARNING! No GNU Scientific Library was found! Krita's Transform Tool will not be able to scale the image with handles. Please install GSL library.")
0045 else ()
0046   target_link_libraries(kritatooltransform_static
0047     PUBLIC
0048       GSL::gsl
0049   )
0050 endif ()
0051 
0052 target_link_libraries(kritatooltransform PRIVATE kritatooltransform_static)
0053 
0054 install(TARGETS kritatooltransform  DESTINATION ${KRITA_PLUGIN_INSTALL_DIR})
0055 
0056 
0057 install( FILES
0058     KisToolTransform.action
0059 DESTINATION  ${DATA_INSTALL_DIR}/krita/actions)