Warning, /plasma/plasma-activities/tests/slc-interface/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # vim:set softtabstop=3 shiftwidth=3 tabstop=3 expandtab:
0002 project (KActivitiesSLCTestApp)
0003 
0004 find_package (Qt6 REQUIRED NO_MODULE COMPONENTS Core Gui Widgets)
0005 
0006 if (NOT WIN32)
0007 
0008 add_executable(KActivitiesSLCTestApp)
0009 
0010 target_include_directories(KActivitiesSLCTestApp PRIVATE
0011    ${KACTIVITIES_CURRENT_ROOT_SOURCE_DIR}/src/
0012    ${KACTIVITIES_CURRENT_ROOT_SOURCE_DIR}/autotests/
0013 )
0014 
0015 qt_add_dbus_interface(KActivitiesSLCTestApp_DBus_SRCS
0016    ${KACTIVITIES_CURRENT_ROOT_SOURCE_DIR}/src/service/plugins/slc/org.kde.ActivityManager.SLC.xml
0017    slc_interface
0018 )
0019 
0020 qt_wrap_ui(KActivitiesSLCTestApp_ui_SRCS
0021    window.ui
0022 )
0023 
0024 target_sources(KActivitiesSLCTestApp PRIVATE
0025    ${KActivitiesSLCTestApp_DBus_SRCS}
0026    ${KActivitiesSLCTestApp_ui_SRCS}
0027    window.cpp
0028    main.cpp
0029 )
0030 
0031 target_link_libraries(KActivitiesSLCTestApp
0032   PRIVATE
0033       Qt6::Core
0034       Qt6::Gui
0035       Qt6::Widgets
0036       Qt6::DBus
0037       KF6::Activities
0038 )
0039 
0040 endif ()