┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/itemactions/CMakeLists.txt
blob: 8edcb28a8f278a50c96c3ba03c1aaa2d5447ffaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# SPDX-FileCopyrightText: 2025 Kostiantin Korchuhanov <[email protected]>
# SPDX-FileCopyrightText: 2025 Méven Car <[email protected]>
#
# SPDX-License-Identifier: GPL-2.0-or-later

# movetonewfolderitemaction plugin

kcoreaddons_add_plugin(movetonewfolderitemaction
    SOURCES movetonewfolderitemaction.cpp movetonewfolderitemaction.h
    INSTALL_NAMESPACE "kf6/kfileitemaction")

target_link_libraries(movetonewfolderitemaction
    KF6::I18n
    KF6::KIOCore
    KF6::KIOWidgets
    KF6::KIOFileWidgets)

#hidefileitemaction plugin
kcoreaddons_add_plugin(hidefileitemaction
    SOURCES hidefileitemaction.cpp hidefileitemaction.h
    INSTALL_NAMESPACE "kf6/kfileitemaction")

target_link_libraries(hidefileitemaction
    KF6::CoreAddons
    KF6::I18n
    KF6::KIOCore
    KF6::KIOWidgets)

if(NOT WIN32)
    # setfoldericon plugin

    kcoreaddons_add_plugin(setfoldericonitemaction
        SOURCES setfoldericonitemaction.cpp setfoldericonitemaction.h ../dolphindebug.h ../dolphindebug.cpp
        INSTALL_NAMESPACE "kf6/kfileitemaction")

    target_link_libraries(setfoldericonitemaction
        KF6::I18n
        KF6::KIOCore
        KF6::KIOWidgets)
endif()