Warning, /graphics/krita/libs/image/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # cmake in some versions for some not yet known reasons fails to run automoc 0002 # on random targets (changing target names already has an effect) 0003 # As temporary workaround skipping build of tests on these versions for now 0004 # See https://mail.kde.org/pipermail/kde-buildsystem/2015-June/010819.html 0005 # extend range of affected cmake versions as needed 0006 if(NOT ${CMAKE_VERSION} VERSION_LESS 3.1.3 AND 0007 NOT ${CMAKE_VERSION} VERSION_GREATER 3.2.3) 0008 message(WARNING "Skipping krita/image/tests, CMake in at least versions 3.1.3 - 3.2.3 seems to have a problem with automoc. \n(FRIENDLY REMINDER: PLEASE DON'T BREAK THE TESTS!)") 0009 set (HAVE_FAILING_CMAKE TRUE) 0010 else() 0011 set (HAVE_FAILING_CMAKE FALSE) 0012 endif() 0013 0014 include(KritaAddBrokenUnitTest) 0015 0016 set(KisRandomGeneratorDemoSources kis_random_generator_demo.cpp kimageframe.cpp) 0017 ki18n_wrap_ui(KisRandomGeneratorDemoSources kis_random_generator_demo.ui) 0018 add_executable(KisRandomGeneratorDemo ${KisRandomGeneratorDemoSources}) 0019 target_link_libraries(KisRandomGeneratorDemo kritaimage) 0020 ecm_mark_as_test(KisRandomGeneratorDemo) 0021 0022 0023 kis_add_tests( 0024 kis_base_node_test.cpp 0025 kis_fast_math_test.cpp 0026 kis_node_test.cpp 0027 kis_node_facade_test.cpp 0028 kis_fixed_paint_device_test.cpp 0029 kis_layer_test.cpp 0030 kis_effect_mask_test.cpp 0031 kis_iterator_test.cpp 0032 kis_painter_test.cpp 0033 kis_count_visitor_test.cpp 0034 kis_projection_test.cpp 0035 kis_properties_configuration_test.cpp 0036 kis_transaction_test.cpp 0037 kis_pixel_selection_test.cpp 0038 kis_group_layer_test.cpp 0039 kis_paint_layer_test.cpp 0040 kis_adjustment_layer_test.cpp 0041 kis_annotation_test.cpp 0042 kis_clone_layer_test.cpp 0043 kis_convolution_painter_test.cpp 0044 kis_crop_processing_visitor_test.cpp 0045 kis_processing_applicator_test.cpp 0046 kis_datamanager_test.cpp 0047 kis_fill_painter_test.cpp 0048 kis_filter_configuration_test.cpp 0049 kis_filter_test.cpp 0050 kis_filter_processing_information_test.cpp 0051 kis_filter_registry_test.cpp 0052 kis_filter_strategy_test.cpp 0053 kis_gradient_painter_test.cpp 0054 kis_image_commands_test.cpp 0055 kis_image_test.cpp 0056 kis_image_signal_router_test.cpp 0057 kis_iterators_ng_test.cpp 0058 kis_iterator_benchmark.cpp 0059 kis_updater_context_test.cpp 0060 kis_simple_update_queue_test.cpp 0061 kis_stroke_test.cpp 0062 kis_simple_stroke_strategy_test.cpp 0063 kis_stroke_strategy_undo_command_based_test.cpp 0064 kis_strokes_queue_test.cpp 0065 kis_mask_test.cpp 0066 kis_math_toolbox_test.cpp 0067 kis_name_server_test.cpp 0068 kis_node_commands_test.cpp 0069 kis_node_graph_listener_test.cpp 0070 kis_node_visitor_test.cpp 0071 kis_paint_information_test.cpp 0072 kis_distance_information_test.cpp 0073 kis_paintop_test.cpp 0074 kis_pattern_test.cpp 0075 kis_selection_mask_test.cpp 0076 kis_shared_ptr_test.cpp 0077 kis_bsplines_test.cpp 0078 kis_warp_transform_worker_test.cpp 0079 kis_liquify_transform_worker_test.cpp 0080 kis_transparency_mask_test.cpp 0081 kis_types_test.cpp 0082 kis_vec_test.cpp 0083 kis_filter_config_widget_test.cpp 0084 kis_mask_generator_test.cpp 0085 kis_cubic_curve_test.cpp 0086 kis_fixed_point_maths_test.cpp 0087 kis_node_query_path_test.cpp 0088 kis_filter_weights_buffer_test.cpp 0089 kis_filter_weights_applicator_test.cpp 0090 kis_fill_interval_test.cpp 0091 kis_fill_interval_map_test.cpp 0092 kis_scanline_fill_test.cpp 0093 kis_psd_layer_style_test.cpp 0094 kis_layer_style_projection_plane_test.cpp 0095 kis_lod_capable_layer_offset_test.cpp 0096 kis_algebra_2d_test.cpp 0097 kis_marker_painter_test.cpp 0098 kis_lazy_brush_test.cpp 0099 kis_mask_similarity_test.cpp 0100 KisMaskGeneratorTest.cpp 0101 kis_layer_style_filter_environment_test.cpp 0102 kis_asl_parser_test.cpp 0103 KisPerStrokeRandomSourceTest.cpp 0104 KisWatershedWorkerTest.cpp 0105 kis_dom_utils_test.cpp 0106 kis_transform_worker_test.cpp 0107 kis_cs_conversion_test.cpp 0108 kis_projection_leaf_test.cpp 0109 kis_histogram_test.cpp 0110 kis_onion_skin_compositor_test.cpp 0111 kis_queues_progress_updater_test.cpp 0112 kis_image_animation_interface_test.cpp 0113 kis_walkers_test.cpp 0114 kis_cage_transform_worker_test.cpp 0115 kis_random_generator_test.cpp 0116 kis_keyframing_test.cpp 0117 kis_time_span_test.cpp 0118 kis_filter_mask_test.cpp 0119 kis_asl_layer_style_serializer_test.cpp 0120 TestAslStorage.cpp 0121 kis_async_merger_test.cpp 0122 kis_selection_test.cpp 0123 kis_update_scheduler_test.cpp 0124 kis_colorize_mask_test.cpp 0125 kis_processings_test.cpp 0126 kis_paint_device_test.cpp 0127 kis_layer_styles_test.cpp 0128 kis_mesh_transform_worker_test.cpp 0129 KisKeyframeAnimationInterfaceSignalTest.cpp 0130 KisOverlayPaintDeviceWrapperTest.cpp 0131 LINK_LIBRARIES kritaimage kritatestsdk 0132 NAME_PREFIX "libs-image-" 0133 ) 0134 0135 kis_add_test( 0136 KisMplTest.cpp 0137 LINK_LIBRARIES kritaimage kritatestsdk kritaglobal 0138 NAME_PREFIX "libs-image-" 0139 ) 0140 0141 krita_add_broken_unit_test( 0142 kis_transform_mask_test.cpp 0143 LINK_LIBRARIES kritaimage kritatestsdk kritaglobal kritatransformmaskstubs 0144 NAME_PREFIX "libs-image-" 0145 ) 0146 0147 0148 krita_add_broken_unit_tests( 0149 kis_perspective_transform_worker_test.cpp 0150 LINK_LIBRARIES kritaimage kritatestsdk 0151 NAME_PREFIX "libs-image-" 0152 ) 0153 0154 if(APPLE) 0155 set_property(TARGET kis_image_animation_interface_test PROPERTY MACOSX_BUNDLE ON) 0156 set_property(TARGET kis_cage_transform_worker_test PROPERTY MACOSX_BUNDLE ON) 0157 0158 macos_test_fixrpath(KisRandomGeneratorDemo) 0159 endif()