Ticket #47071: dont-link-to-plugins.diff

File dont-link-to-plugins.diff, 3.1 KB (added by RJVB (René Bertin), 10 years ago)
  • krita/plugins/tools/defaulttools/tests/CMakeLists.txt

    diff --git krita/plugins/tools/defaulttools/tests/CMakeLists.txt b/krita/plugins/tools/defaulttools/tests/CMakeLists.txt
    index 229f51e..29054ac 100644
    macro_add_unittest_definitions() 
    55
    66########### next target ###############
    77
    8 set(move_stroke_test_SRCS move_stroke_test.cpp ${CMAKE_SOURCE_DIR}/krita/sdk/tests/stroke_testing_utils.cpp)
    9 kde4_add_unit_test(MoveStrokeTest TESTNAME krita-ui-MoveStrokeTest  ${move_stroke_test_SRCS})
    10 target_link_libraries(MoveStrokeTest  ${KDE4_KDEUI_LIBS}  kritadefaulttools kritaui kritaimage ${QT_QTTEST_LIBRARY})
     8# set(move_stroke_test_SRCS move_stroke_test.cpp ${CMAKE_SOURCE_DIR}/krita/sdk/tests/stroke_testing_utils.cpp)
     9# kde4_add_unit_test(MoveStrokeTest TESTNAME krita-ui-MoveStrokeTest  ${move_stroke_test_SRCS})
     10# target_link_libraries(MoveStrokeTest  ${KDE4_KDEUI_LIBS}  kritadefaulttools kritaui kritaimage ${QT_QTTEST_LIBRARY})
  • krita/plugins/tools/tool_transform2/tests/CMakeLists.txt

    diff --git krita/plugins/tools/tool_transform2/tests/CMakeLists.txt b/krita/plugins/tools/tool_transform2/tests/CMakeLists.txt
    index 9b04aec..a96c8b8 100644
    macro_add_unittest_definitions() 
    55
    66########### next target ###############
    77
    8 set(test_save_load_transform_args_SRCS test_save_load_transform_args.cpp )
    9 kde4_add_unit_test(TestSaveLoadTransformArgs TESTNAME krita-ui-TestSaveLoadTransformArgs  ${test_save_load_transform_args_SRCS})
    10 target_link_libraries(TestSaveLoadTransformArgs  ${KDE4_KDEUI_LIBS}  kritatooltransform kritaui kritaimage ${QT_QTTEST_LIBRARY})
     8# set(test_save_load_transform_args_SRCS test_save_load_transform_args.cpp )
     9# kde4_add_unit_test(TestSaveLoadTransformArgs TESTNAME krita-ui-TestSaveLoadTransformArgs  ${test_save_load_transform_args_SRCS})
     10# target_link_libraries(TestSaveLoadTransformArgs  ${KDE4_KDEUI_LIBS}  kritatooltransform kritaui kritaimage ${QT_QTTEST_LIBRARY})
  • krita/ui/tests/CMakeLists.txt

    diff --git krita/ui/tests/CMakeLists.txt b/krita/ui/tests/CMakeLists.txt
    index 98620ad..0f770f8 100644
    target_link_libraries(FreehandStrokeTest ${KDE4_KDEUI_LIBS} kritaui kritaimage 
    100100
    101101########### next target ###############
    102102
    103 set(fill_processing_visitor_test_SRCS fill_processing_visitor_test.cpp ${CMAKE_SOURCE_DIR}/krita/sdk/tests/stroke_testing_utils.cpp)
    104 kde4_add_unit_test(FillProcessingVisitorTest TESTNAME krita-ui-FillProcessingVisitorTest  ${fill_processing_visitor_test_SRCS})
    105 target_link_libraries(FillProcessingVisitorTest  ${KDE4_KDEUI_LIBS}  kritadefaulttools kritaui kritaimage ${QT_QTTEST_LIBRARY})
     103# set(fill_processing_visitor_test_SRCS fill_processing_visitor_test.cpp ${CMAKE_SOURCE_DIR}/krita/sdk/tests/stroke_testing_utils.cpp)
     104# kde4_add_unit_test(FillProcessingVisitorTest TESTNAME krita-ui-FillProcessingVisitorTest  ${fill_processing_visitor_test_SRCS})
     105# target_link_libraries(FillProcessingVisitorTest  ${KDE4_KDEUI_LIBS}  kritadefaulttools kritaui kritaimage ${QT_QTTEST_LIBRARY})
    106106
    107107
    108108########### next target ###############