summaryrefslogtreecommitdiffstats
path: root/framework/actions/CMakeLists.txt
blob: 9fc43b9b1a9ae6522fac9d7c8569f14ae1fa581c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
set(SRCS
    actionplugin.cpp
    action.cpp
    actionhandler.cpp
    actionbroker.cpp
    actionresult.cpp
    context.cpp
)

add_library(actionplugin SHARED ${SRCS})

target_link_libraries(actionplugin KF5::Async sink)
qt5_use_modules(actionplugin Core Quick Qml)

install(TARGETS actionplugin DESTINATION ${QML_INSTALL_DIR}/org/kube/framework/actions)
install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/org/kube/framework/actions)

add_subdirectory(tests)