Commit 82c2321b authored by Boudewijn Rempt's avatar Boudewijn Rempt

Replace _PART_SRCS with SOURCES

Originally, every Krita plugin was a KPart. Now nothing is a KPart
anymore, but we still kept the BLALBA_PART_SRCS convention for naming
the list of source files, dating back to the ancient autoconf days.
parent 2ee947c3
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../RulerAssistantCommon)
set(kritarulerassistanttool_PART_SRCS
set(kritarulerassistanttool_SOURCES
RulerAssistant.cc
EllipseAssistant.cc
Ellipse.cc
......@@ -15,9 +15,9 @@ set(kritarulerassistanttool_PART_SRCS
FisheyePointAssistant.cc
)
ki18n_wrap_ui(kritarulerassistanttool_PART_SRCS AssistantsToolOptions.ui )
ki18n_wrap_ui(kritarulerassistanttool_SOURCES AssistantsToolOptions.ui )
add_library(kritarulerassistanttool MODULE ${kritarulerassistanttool_PART_SRCS})
add_library(kritarulerassistanttool MODULE ${kritarulerassistanttool_SOURCES})
kcoreaddons_desktop_to_json(kritarulerassistanttool kritarulerassistanttool.desktop)
target_link_libraries(kritarulerassistanttool kritaui kritaflake )
......
set( extensions_plugin_PART_SRCS
set( extensions_plugin_SOURCES
extensions_plugin.cc
kis_hsv_adjustment.cpp
kis_dodgehighlights_adjustment.cpp
......@@ -11,7 +11,7 @@ set( extensions_plugin_PART_SRCS
kis_desaturate_adjustment.cpp
)
add_library(krita_colorspaces_extensions MODULE ${extensions_plugin_PART_SRCS} )
add_library(krita_colorspaces_extensions MODULE ${extensions_plugin_SOURCES} )
kcoreaddons_desktop_to_json(krita_colorspaces_extensions krita_colorspaces_extensions_plugin.desktop)
target_link_libraries(krita_colorspaces_extensions kritapigment kritaglobal ${OPENEXR_LIBRARIES} KF5::I18n KF5::CoreAddons)
......
set(kritabigbrother_PART_SRCS
set(kritabigbrother_SOURCES
bigbrother.cc
actionseditor/kis_actions_editor.cpp
actionseditor/kis_actions_editor_dialog.cpp
actionseditor/kis_macro_model.cpp )
ki18n_wrap_ui(kritabigbrother_PART_SRCS
ki18n_wrap_ui(kritabigbrother_SOURCES
actionseditor/wdgactionseditor.ui )
add_library(kritabigbrother MODULE ${kritabigbrother_PART_SRCS})
add_library(kritabigbrother MODULE ${kritabigbrother_SOURCES})
kcoreaddons_desktop_to_json(kritabigbrother kritabigbrother.desktop)
target_link_libraries(kritabigbrother kritaui)
......
########### next target ###############
set(kritaclonesarray_PART_SRCS
set(kritaclonesarray_SOURCES
clonesarray.cpp
dlg_clonesarray.cpp
)
ki18n_wrap_ui(kritaclonesarray_PART_SRCS wdg_clonesarray.ui )
add_library(kritaclonesarray MODULE ${kritaclonesarray_PART_SRCS})
ki18n_wrap_ui(kritaclonesarray_SOURCES wdg_clonesarray.ui )
add_library(kritaclonesarray MODULE ${kritaclonesarray_SOURCES})
kcoreaddons_desktop_to_json(kritaclonesarray kritaclonesarray.desktop)
target_link_libraries(kritaclonesarray kritaui)
......
set(kritacolorrange_PART_SRCS colorrange.cc dlg_colorrange.cc )
set(kritacolorrange_SOURCES colorrange.cc dlg_colorrange.cc )
ki18n_wrap_ui(kritacolorrange_PART_SRCS wdg_colorrange.ui )
ki18n_wrap_ui(kritacolorrange_SOURCES wdg_colorrange.ui )
add_library(kritacolorrange MODULE ${kritacolorrange_PART_SRCS})
add_library(kritacolorrange MODULE ${kritacolorrange_SOURCES})
kcoreaddons_desktop_to_json(kritacolorrange kritacolorrange.desktop)
......
set(kritacolorspaceconversion_PART_SRCS colorspaceconversion.cc dlg_colorspaceconversion.cc )
set(kritacolorspaceconversion_SOURCES colorspaceconversion.cc dlg_colorspaceconversion.cc )
ki18n_wrap_ui(kritacolorspaceconversion_PART_SRCS wdgconvertcolorspace.ui )
ki18n_wrap_ui(kritacolorspaceconversion_SOURCES wdgconvertcolorspace.ui )
add_library(kritacolorspaceconversion MODULE ${kritacolorspaceconversion_PART_SRCS})
add_library(kritacolorspaceconversion MODULE ${kritacolorspaceconversion_SOURCES})
kcoreaddons_desktop_to_json(kritacolorspaceconversion kritacolorspaceconversion.desktop)
......
set(KRITA_COLORSELECTORNG_PART_SRCS
set(KRITA_COLORSELECTORNG_SOURCES
colorselectorng.cpp
kis_color_selector_ng_dock.cpp
kis_color_selector_ng_docker_widget.cpp
......@@ -27,11 +27,11 @@ kis_color_selector_combo_box.cpp
kis_color_selector_base_proxy.cpp
)
ki18n_wrap_ui(KRITA_COLORSELECTORNG_PART_SRCS
ki18n_wrap_ui(KRITA_COLORSELECTORNG_SOURCES
wdg_color_selector_settings.ui
)
add_library(kritacolorselectorng MODULE ${KRITA_COLORSELECTORNG_PART_SRCS})
add_library(kritacolorselectorng MODULE ${KRITA_COLORSELECTORNG_SOURCES})
kcoreaddons_desktop_to_json(kritacolorselectorng krita_colorselectorng.desktop)
target_link_libraries(kritacolorselectorng kritaui)
......
add_subdirectory(tests)
set(KRITA_ANIMATIONDOCKER_PART_SRCS
set(KRITA_ANIMATIONDOCKER_SOURCES
animation_dockers.cpp
animation_docker.cpp
timeline_docker.cpp
......@@ -28,12 +28,12 @@ set(KRITA_ANIMATIONDOCKER_PART_SRCS
kis_equalizer_widget.cpp
)
ki18n_wrap_ui(KRITA_ANIMATIONDOCKER_PART_SRCS
ki18n_wrap_ui(KRITA_ANIMATIONDOCKER_SOURCES
wdg_animation.ui
onion_skins_docker.ui
)
add_library(kritaanimationdocker MODULE ${KRITA_ANIMATIONDOCKER_PART_SRCS})
add_library(kritaanimationdocker MODULE ${KRITA_ANIMATIONDOCKER_SOURCES})
generate_export_header(kritaanimationdocker BASE_NAME kritaanimationdocker EXPORT_MACRO_NAME KRITAANIMATIONDOCKER_EXPORT)
kcoreaddons_desktop_to_json(kritaanimationdocker krita_animationdocker.desktop)
......
set(kritaartisticcolorselector_PART_SRCS
set(kritaartisticcolorselector_SOURCES
artisticcolorselector_plugin.cpp
artisticcolorselector_dock.cpp
kis_color.cpp
kis_color_selector.cpp
)
ki18n_wrap_ui(kritaartisticcolorselector_PART_SRCS forms/wdgArtisticColorSelector.ui forms/wdgColorPreferencesPopup.ui)
add_library(kritaartisticcolorselector MODULE ${kritaartisticcolorselector_PART_SRCS})
ki18n_wrap_ui(kritaartisticcolorselector_SOURCES forms/wdgArtisticColorSelector.ui forms/wdgColorPreferencesPopup.ui)
add_library(kritaartisticcolorselector MODULE ${kritaartisticcolorselector_SOURCES})
kcoreaddons_desktop_to_json(kritaartisticcolorselector krita_artisticcolorselector.desktop)
target_link_libraries(kritaartisticcolorselector kritaui)
......
set(KRITA_CHANNELDOCKER_PART_SRCS channelmodel.cpp channeldocker.cpp channeldocker_dock.cpp )
set(KRITA_CHANNELDOCKER_SOURCES channelmodel.cpp channeldocker.cpp channeldocker_dock.cpp )
add_library(kritachanneldocker MODULE ${KRITA_CHANNELDOCKER_PART_SRCS})
add_library(kritachanneldocker MODULE ${KRITA_CHANNELDOCKER_SOURCES})
kcoreaddons_desktop_to_json(kritachanneldocker krita_channeldocker.desktop)
target_link_libraries(kritachanneldocker kritaui)
......
set(kritacolorslider_PART_SRCS
set(kritacolorslider_SOURCES
kis_color_slider.cpp
kis_color_slider_dock.cpp
kis_color_slider_widget.cpp
......@@ -8,9 +8,9 @@ set(kritacolorslider_PART_SRCS
)
# ki18n_wrap_ui(kritaspecificcolorselector_PART_SRCS myuifile.ui )
# ki18n_wrap_ui(kritaspecificcolorselector_SOURCES myuifile.ui )
add_library(kritacolorslider MODULE ${kritacolorslider_PART_SRCS})
add_library(kritacolorslider MODULE ${kritacolorslider_SOURCES})
kcoreaddons_desktop_to_json(kritacolorslider krita_colorslider.desktop)
target_link_libraries(kritacolorslider kritaui ${OPENEXR_LIBRARIES})
......
set(KRITA_COMPOSITIONDOCKER_PART_SRCS compositionmodel.cpp compositiondocker.cpp compositiondocker_dock.cpp )
set(KRITA_COMPOSITIONDOCKER_SOURCES compositionmodel.cpp compositiondocker.cpp compositiondocker_dock.cpp )
ki18n_wrap_ui(KRITA_COMPOSITIONDOCKER_PART_SRCS
ki18n_wrap_ui(KRITA_COMPOSITIONDOCKER_SOURCES
wdgcompositiondocker.ui
)
add_library(kritacompositiondocker MODULE ${KRITA_COMPOSITIONDOCKER_PART_SRCS})
add_library(kritacompositiondocker MODULE ${KRITA_COMPOSITIONDOCKER_SOURCES})
kcoreaddons_desktop_to_json(kritacompositiondocker krita_compositiondocker.desktop)
target_link_libraries(kritacompositiondocker kritaui)
......
set(kritadefaultdockers_PART_SRCS
set(kritadefaultdockers_SOURCES
kis_layer_box.cpp
defaultdockers.cpp
)
......@@ -8,12 +8,12 @@ set(kritadefaultdockers_PART_HEADERS
defaultdockers.h
)
ki18n_wrap_ui(kritadefaultdockers_PART_SRCS
ki18n_wrap_ui(kritadefaultdockers_SOURCES
wdglayerbox.ui
)
add_library(kritadefaultdockers MODULE ${kritadefaultdockers_PART_SRCS} ${kritadefaultdockers_PART_HEADERS})
add_library(kritadefaultdockers MODULE ${kritadefaultdockers_SOURCES} ${kritadefaultdockers_PART_HEADERS})
kcoreaddons_desktop_to_json(kritadefaultdockers kritadefaultdockers.desktop)
target_link_libraries(kritadefaultdockers kritaui)
......
set(KRITA_DIGITALMIXER_PART_SRCS digitalmixer.cc digitalmixer_dock.cc )
set(KRITA_DIGITALMIXER_SOURCES digitalmixer.cc digitalmixer_dock.cc )
# ki18n_wrap_ui(kritadigitalmixer_PART_SRCS myuifile.ui )
# ki18n_wrap_ui(kritadigitalmixer_SOURCES myuifile.ui )
add_library(kritadigitalmixer MODULE ${KRITA_DIGITALMIXER_PART_SRCS})
add_library(kritadigitalmixer MODULE ${KRITA_DIGITALMIXER_SOURCES})
kcoreaddons_desktop_to_json(kritadigitalmixer krita_digitalmixer.desktop)
target_link_libraries(kritadigitalmixer kritaui)
......
include_directories( ${KRITA_INCLUDES} ${KOTEXT_INCLUDES} )
set(kritahistorydocker_PART_SRCS
set(kritahistorydocker_SOURCES
History.h
History.cpp
HistoryDock.h
......@@ -11,7 +11,7 @@ set(kritahistorydocker_PART_SRCS
KisUndoModel.cpp
)
add_library(kritahistorydocker MODULE ${kritahistorydocker_PART_SRCS})
add_library(kritahistorydocker MODULE ${kritahistorydocker_SOURCES})
kcoreaddons_desktop_to_json(kritahistorydocker kritahistorydocker.desktop)
target_link_libraries(kritahistorydocker kritaimage kritaui)
......
set(kritaimagedocker_PART_SRCS
set(kritaimagedocker_SOURCES
imagedocker.cpp
imagedocker_dock.cpp
image_strip_scene.cpp
image_view.cpp
)
ki18n_wrap_ui(kritaimagedocker_PART_SRCS forms/wdgimagedocker.ui forms/wdgImageViewPopup.ui)
ki18n_wrap_ui(kritaimagedocker_SOURCES forms/wdgimagedocker.ui forms/wdgImageViewPopup.ui)
add_library(kritaimagedocker MODULE ${kritaimagedocker_PART_SRCS})
add_library(kritaimagedocker MODULE ${kritaimagedocker_SOURCES})
kcoreaddons_desktop_to_json(kritaimagedocker kritaimagedocker.desktop)
target_link_libraries(kritaimagedocker kritaui)
......
......@@ -2,18 +2,18 @@ add_subdirectory(tests)
include_directories( ${OCIO_INCLUDE_DIR})
kde_enable_exceptions()
set(KRITA_LUTDOCKER_PART_SRCS
set(KRITA_LUTDOCKER_SOURCES
lutdocker.cpp
lutdocker_dock.cpp
ocio_display_filter.cpp
black_white_point_chooser.cpp
)
ki18n_wrap_ui(KRITA_LUTDOCKER_PART_SRCS
ki18n_wrap_ui(KRITA_LUTDOCKER_SOURCES
wdglut.ui
)
add_library(kritalutdocker MODULE ${KRITA_LUTDOCKER_PART_SRCS})
add_library(kritalutdocker MODULE ${KRITA_LUTDOCKER_SOURCES})
kcoreaddons_desktop_to_json(kritalutdocker krita_lutdocker.desktop)
generate_export_header(kritalutdocker BASE_NAME kritalutdocker)
......
set(KRITA_OVERVIEWDOCKER_PART_SRCS overviewdocker.cpp overviewdocker_dock.cpp overviewwidget.cc )
set(KRITA_OVERVIEWDOCKER_SOURCES overviewdocker.cpp overviewdocker_dock.cpp overviewwidget.cc )
add_library(kritaoverviewdocker MODULE ${KRITA_OVERVIEWDOCKER_PART_SRCS})
add_library(kritaoverviewdocker MODULE ${KRITA_OVERVIEWDOCKER_SOURCES})
kcoreaddons_desktop_to_json(kritaoverviewdocker krita_overviewdocker.desktop)
target_link_libraries(kritaoverviewdocker kritaui)
......
set(KRITA_PALETTEDOCKER_PART_SRCS colorsetchooser.cpp palettemodel.cpp palettedocker.cpp palettedocker_dock.cpp )
set(KRITA_PALETTEDOCKER_SOURCES colorsetchooser.cpp palettemodel.cpp palettedocker.cpp palettedocker_dock.cpp )
ki18n_wrap_ui(KRITA_PALETTEDOCKER_PART_SRCS
ki18n_wrap_ui(KRITA_PALETTEDOCKER_SOURCES
wdgpalettedock.ui
)
add_library(kritapalettedocker MODULE ${KRITA_PALETTEDOCKER_PART_SRCS})
add_library(kritapalettedocker MODULE ${KRITA_PALETTEDOCKER_SOURCES})
kcoreaddons_desktop_to_json(kritapalettedocker krita_palettedocker.desktop)
target_link_libraries(kritapalettedocker kritaui)
......
set(KRITA_PATTERNDOCKER_PART_SRCS patterndocker.cpp patterndocker_dock.cpp )
set(KRITA_PATTERNDOCKER_SOURCES patterndocker.cpp patterndocker_dock.cpp )
add_library(kritapatterndocker MODULE ${KRITA_PATTERNDOCKER_PART_SRCS})
add_library(kritapatterndocker MODULE ${KRITA_PATTERNDOCKER_SOURCES})
kcoreaddons_desktop_to_json(kritapatterndocker krita_patterndocker.desktop)
target_link_libraries(kritapatterndocker kritaui)
......
set(KRITA_PRESETDOCKER_PART_SRCS presetdocker.cpp presetdocker_dock.cpp )
set(KRITA_PRESETDOCKER_SOURCES presetdocker.cpp presetdocker_dock.cpp )
add_library(kritapresetdocker MODULE ${KRITA_PRESETDOCKER_PART_SRCS})
add_library(kritapresetdocker MODULE ${KRITA_PRESETDOCKER_SOURCES})
kcoreaddons_desktop_to_json(kritapresetdocker krita_presetdocker.desktop)
target_link_libraries(kritapresetdocker kritaui)
......
set(KRITA_PRESETHISTORY_PART_SRCS
set(KRITA_PRESETHISTORY_SOURCES
presethistory.cpp
presethistory_dock.cpp
)
add_library(kritapresethistory MODULE ${KRITA_PRESETHISTORY_PART_SRCS})
add_library(kritapresethistory MODULE ${KRITA_PRESETHISTORY_SOURCES})
target_link_libraries(kritapresethistory kritaui)
kcoreaddons_desktop_to_json(kritapresethistory krita_presethistory.desktop)
......
set(KRITA_smallCOLORSELECTOR_PART_SRCS smallcolorselector.cc smallcolorselector_dock.cc kis_small_color_widget.cc )
set(KRITA_smallCOLORSELECTOR_SOURCES smallcolorselector.cc smallcolorselector_dock.cc kis_small_color_widget.cc )
# ki18n_wrap_ui(kritasmallcolorselector_PART_SRCS myuifile.ui )
# ki18n_wrap_ui(kritasmallcolorselector_SOURCES myuifile.ui )
add_library(kritasmallcolorselector MODULE ${KRITA_smallCOLORSELECTOR_PART_SRCS})
add_library(kritasmallcolorselector MODULE ${KRITA_smallCOLORSELECTOR_SOURCES})
kcoreaddons_desktop_to_json(kritasmallcolorselector krita_smallcolorselector.desktop)
target_link_libraries(kritasmallcolorselector kritaui)
......
set(KRITA_SPECIFICCOLORSELECTOR_PART_SRCS specificcolorselector.cc specificcolorselector_dock.cc kis_specific_color_selector_widget.cc kis_color_input.cc )
set(KRITA_SPECIFICCOLORSELECTOR_SOURCES specificcolorselector.cc specificcolorselector_dock.cc kis_specific_color_selector_widget.cc kis_color_input.cc )
# ki18n_wrap_ui(kritaspecificcolorselector_PART_SRCS myuifile.ui )
# ki18n_wrap_ui(kritaspecificcolorselector_SOURCES myuifile.ui )
add_library(kritaspecificcolorselector MODULE ${KRITA_SPECIFICCOLORSELECTOR_PART_SRCS})
add_library(kritaspecificcolorselector MODULE ${KRITA_SPECIFICCOLORSELECTOR_SOURCES})
kcoreaddons_desktop_to_json(kritaspecificcolorselector krita_specificcolorselector.desktop)
target_link_libraries(kritaspecificcolorselector kritaui ${OPENEXR_LIBRARIES})
......
set(KRITA_TASKSETDOCKER_PART_SRCS tasksetmodel.cpp tasksetdocker.cpp tasksetdocker_dock.cpp taskset_resource.cpp )
set(KRITA_TASKSETDOCKER_SOURCES tasksetmodel.cpp tasksetdocker.cpp tasksetdocker_dock.cpp taskset_resource.cpp )
ki18n_wrap_ui(KRITA_TASKSETDOCKER_PART_SRCS
ki18n_wrap_ui(KRITA_TASKSETDOCKER_SOURCES
wdgtasksetdocker.ui
)
add_library(kritatasksetdocker MODULE ${KRITA_TASKSETDOCKER_PART_SRCS})
add_library(kritatasksetdocker MODULE ${KRITA_TASKSETDOCKER_SOURCES})
kcoreaddons_desktop_to_json(kritatasksetdocker krita_tasksetdocker.desktop)
target_link_libraries(kritatasksetdocker kritaui)
......
......@@ -126,7 +126,7 @@ endif()
# compile Krita plug-in and link static library in
##
set(kritagmic_shared_PART_SRCS
set(kritagmic_shared_SOURCES
kis_gmic_parser.cpp
kis_gmic_blacklister.cpp
kis_gmic_filter_model.cpp
......@@ -144,9 +144,9 @@ set(kritagmic_shared_PART_SRCS
kis_filter_preview_widget.cpp
)
ki18n_wrap_ui(kritagmic_shared_PART_SRCS wdg_gmic.ui wdg_gmic_input_output.ui)
ki18n_wrap_ui(kritagmic_shared_SOURCES wdg_gmic.ui wdg_gmic_input_output.ui)
set(kritagmic_PART_SRCS
set(kritagmic_SOURCES
kis_gmic_simple_convertor.cpp
kis_export_gmic_processing_visitor.cpp
kis_gmic_applicator.cpp
......@@ -157,16 +157,16 @@ set(kritagmic_PART_SRCS
kis_import_gmic_processing_visitor.cpp
kis_gmic_progress_manager.cpp
kis_gmic_small_applicator.cpp
kis_gmic_plugin.cpp ${kritagmic_shared_PART_SRCS}
kis_gmic_plugin.cpp ${kritagmic_shared_SOURCES}
)
add_library(kritagmic MODULE ${kritagmic_PART_SRCS})
add_library(kritagmic MODULE ${kritagmic_SOURCES})
target_link_libraries(kritagmic kritaui gmic Qt5::Xml Qt5::Network ${ZLIB_LIBRARIES})
kcoreaddons_desktop_to_json(kritagmic kritagmic.desktop)
# gmicparser for debugging purposes
set(gmicparser_PART_SRCS gmicparser.cpp ${kritagmic_shared_PART_SRCS})
add_executable(gmicparser ${gmicparser_PART_SRCS})
set(gmicparser_SOURCES gmicparser.cpp ${kritagmic_shared_SOURCES})
add_executable(gmicparser ${gmicparser_SOURCES})
target_link_libraries(gmicparser Qt5::Core Qt5::Gui Qt5::Network kritaui gmic ${ZLIB_LIBRARIES})
########### install files ###############
......
......@@ -3,7 +3,7 @@ include_directories( ${CMAKE_SOURCE_DIR}/krita/sdk/tests ../)
macro_add_unittest_definitions()
set(kritagmic_parser_PART_SRCS
set(kritagmic_parser_SOURCES
../kis_gmic_parser.cpp
../kis_gmic_blacklister.cpp
../Category.cpp
......@@ -25,11 +25,11 @@ set(kritagmic_parser_PART_SRCS
########### next target ###############
set(kis_gmic_tests_SRCS kis_gmic_tests.cpp ${kritagmic_parser_PART_SRCS})
set(kis_gmic_tests_SRCS kis_gmic_tests.cpp ${kritagmic_parser_SOURCES})
kde4_add_unit_test(KisGmicTests TESTNAME krita-plugins-extensions-gmic-GmicTests ${kis_gmic_tests_SRCS})
target_link_libraries(KisGmicTests gmic kritaimage Qt5::Test ${QT_QTXML_LIBRARY})
set(kis_gmic_benchmarks_SRCS kis_gmic_benchmarks.cpp ${kritagmic_parser_PART_SRCS})
set(kis_gmic_benchmarks_SRCS kis_gmic_benchmarks.cpp ${kritagmic_parser_SOURCES})
calligra_add_benchmark(KisGmicBenchmark TESTNAME krita-plugins-extensions-gmic-GmicBenchmarks ${kis_gmic_benchmarks_SRCS})
target_link_libraries(KisGmicBenchmark gmic kritaimage Qt5::Test ${QT_QTXML_LIBRARY})
set(kritahistogram_PART_SRCS histogram.cc dlg_histogram.cc kis_histogram_widget.cc )
set(kritahistogram_SOURCES histogram.cc dlg_histogram.cc kis_histogram_widget.cc )
ki18n_wrap_ui(kritahistogram_PART_SRCS wdghistogram.ui )
ki18n_wrap_ui(kritahistogram_SOURCES wdghistogram.ui )
add_library(kritahistogram MODULE ${kritahistogram_PART_SRCS})
add_library(kritahistogram MODULE ${kritahistogram_SOURCES})
kcoreaddons_desktop_to_json(kritahistogram kritahistogram.desktop)
......
add_subdirectory( pics )
set(kritaimagesize_PART_SRCS
set(kritaimagesize_SOURCES
imagesize.cc
dlg_imagesize.cc
dlg_canvassize.cc
......@@ -8,13 +8,13 @@ set(kritaimagesize_PART_SRCS
kcanvaspreview.cc
)
ki18n_wrap_ui(kritaimagesize_PART_SRCS
ki18n_wrap_ui(kritaimagesize_SOURCES
wdg_imagesize.ui
wdg_canvassize.ui
wdg_layersize.ui
)
add_library(kritaimagesize MODULE ${kritaimagesize_PART_SRCS})
add_library(kritaimagesize MODULE ${kritaimagesize_SOURCES})
kcoreaddons_desktop_to_json(kritaimagesize kritaimagesize.desktop)
......
set(kritaimagesplit_PART_SRCS
set(kritaimagesplit_SOURCES
imagesplit.cpp
dlg_imagesplit.cpp
wdg_imagesplit.cpp
)
ki18n_wrap_ui(kritaimagesplit_PART_SRCS
ki18n_wrap_ui(kritaimagesplit_SOURCES
wdg_imagesplit.ui
)
add_library(kritaimagesplit MODULE ${kritaimagesplit_PART_SRCS})
add_library(kritaimagesplit MODULE ${kritaimagesplit_SOURCES})
target_link_libraries(kritaimagesplit kritaui)
kcoreaddons_desktop_to_json(kritaimagesplit kritaimagesplit.desktop)
......
set(kritalayergroupswitcher_PART_SRCS
set(kritalayergroupswitcher_SOURCES
layergroupswitcher.cpp
)
add_library(kritalayergroupswitcher MODULE ${kritalayergroupswitcher_PART_SRCS})
add_library(kritalayergroupswitcher MODULE ${kritalayergroupswitcher_SOURCES})
kcoreaddons_desktop_to_json(kritalayergroupswitcher kritalayergroupswitcher.desktop)
target_link_libraries(kritalayergroupswitcher kritaui)
......
set(kritalayersplit_PART_SRCS
set(kritalayersplit_SOURCES
layersplit.cpp
dlg_layersplit.cpp
wdg_layersplit.cpp
)
ki18n_wrap_ui(kritalayersplit_PART_SRCS
ki18n_wrap_ui(kritalayersplit_SOURCES
wdg_layersplit.ui
)
add_library(kritalayersplit MODULE ${kritalayersplit_PART_SRCS})
add_library(kritalayersplit MODULE ${kritalayersplit_SOURCES})
kcoreaddons_desktop_to_json(kritalayersplit kritalayersplit.desktop)
target_link_libraries(kritalayersplit kritaui)
......
include_directories(${CMAKE_SOURCE_DIR}/krita/image/metadata)
set(kritametadataeditor_PART_SRCS metadataeditor.cc kis_entry_editor.cc kis_meta_data_editor.cc kis_meta_data_model.cpp )
set(kritametadataeditor_SOURCES metadataeditor.cc kis_entry_editor.cc kis_meta_data_editor.cc kis_meta_data_model.cpp )
ki18n_wrap_ui(kritametadataeditor_PART_SRCS
ki18n_wrap_ui(kritametadataeditor_SOURCES
editors/dublincore.ui
editors/exif.ui
)
add_library(kritametadataeditor MODULE ${kritametadataeditor_PART_SRCS})
add_library(kritametadataeditor MODULE ${kritametadataeditor_SOURCES})
kcoreaddons_desktop_to_json(kritametadataeditor kritametadataeditor.desktop)
target_link_libraries(kritametadataeditor kritaui )
......
set(kritamodifyselection_PART_SRCS
set(kritamodifyselection_SOURCES
dlg_grow_selection.cc
dlg_shrink_selection.cc
dlg_border_selection.cc
......@@ -10,14 +10,14 @@ set(kritamodifyselection_PART_SRCS
)
ki18n_wrap_ui(kritamodifyselection_PART_SRCS
ki18n_wrap_ui(kritamodifyselection_SOURCES
wdg_grow_selection.ui
wdg_shrink_selection.ui
wdg_border_selection.ui
wdg_feather_selection.ui
)
add_library(kritamodifyselection MODULE ${kritamodifyselection_PART_SRCS})
add_library(kritamodifyselection MODULE ${kritamodifyselection_SOURCES})
kcoreaddons_desktop_to_json(kritamodifyselection kritamodifyselection.desktop)
......
########### next target ###############
set(kritaoffsetimage_PART_SRCS offsetimage.cpp dlg_offsetimage.cpp kis_offset_processing_visitor.cpp)
set(kritaoffsetimage_SOURCES offsetimage.cpp dlg_offsetimage.cpp kis_offset_processing_visitor.cpp)
ki18n_wrap_ui(kritaoffsetimage_PART_SRCS wdg_offsetimage.ui )
add_library(kritaoffsetimage MODULE ${kritaoffsetimage_PART_SRCS})
ki18n_wrap_ui(kritaoffsetimage_SOURCES wdg_offsetimage.ui )
add_library(kritaoffsetimage MODULE ${kritaoffsetimage_SOURCES})
kcoreaddons_desktop_to_json(kritaoffsetimage kritaoffsetimage.desktop)
target_link_libraries(kritaoffsetimage kritaui)
......
add_subdirectory( tests )
set(kritaresourcemanager_PART_SRCS
set(kritaresourcemanager_SOURCES
resourcemanager.cpp
resourcebundle_manifest.cpp
resourcebundle.cpp
......@@ -8,12 +8,12 @@ set(kritaresourcemanager_PART_SRCS
dlg_bundle_manager.cpp
)
ki18n_wrap_ui(kritaresourcemanager_PART_SRCS
ki18n_wrap_ui(kritaresourcemanager_SOURCES
wdgdlgcreatebundle.ui
wdgdlgbundlemanager.ui
)
add_library(kritaresourcemanager MODULE ${kritaresourcemanager_PART_SRCS})
add_library(kritaresourcemanager MODULE ${kritaresourcemanager_SOURCES})
kcoreaddons_desktop_to_json(kritaresourcemanager kritaresourcemanager.desktop)
target_link_libraries(kritaresourcemanager kritawidgets kritaui kritalibpaintop)
......
......@@ -5,12 +5,12 @@
########### next target ###############
set(kritarotateimage_PART_SRCS rotateimage.cc dlg_rotateimage.cc )
set(kritarotateimage_SOURCES rotateimage.cc dlg_rotateimage.cc )
ki18n_wrap_ui(kritarotateimage_PART_SRCS wdg_rotateimage.ui )