Warning, /plasma/plasma-workspace/shell/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 0002 include_directories(${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/..) 0003 0004 set(screenpoolmanualtest_SRCS 0005 screenpooltest.cpp 0006 ../screenpool.cpp 0007 ${CMAKE_CURRENT_BINARY_DIR}/../screenpool-debug.cpp 0008 ) 0009 add_executable(screenpoolmanualtest) 0010 qt6_generate_wayland_protocol_client_sources(screenpoolmanualtest FILES 0011 ${PLASMA_WAYLAND_PROTOCOLS_DIR}/kde-output-order-v1.xml) 0012 0013 target_sources(screenpoolmanualtest PRIVATE ${screenpoolmanualtest_SRCS}) 0014 target_link_libraries(screenpoolmanualtest 0015 Qt::Test 0016 Qt::Gui 0017 Qt::Widgets 0018 Qt::WaylandClient 0019 KF6::ConfigCore 0020 KF6::Service 0021 KF6::WindowSystem 0022 Plasma::KWaylandClient 0023 Wayland::Client 0024 PW::KWorkspace 0025 ) 0026 if(HAVE_X11) 0027 target_link_libraries(screenpoolmanualtest XCB::XCB XCB::RANDR) 0028 target_link_libraries(screenpoolmanualtest Qt::GuiPrivate) 0029 endif() 0030 if(QT_QTOPENGL_FOUND) 0031 target_link_libraries(screenpoolmanualtest Qt::OpenGL) 0032 endif() 0033 0034 0035 set(setwallpapertest_SRCS 0036 setwallpapertest.cpp 0037 ) 0038 add_executable(setwallpapertest) 0039 0040 target_sources(setwallpapertest PRIVATE ${setwallpapertest_SRCS}) 0041 target_link_libraries(setwallpapertest 0042 Qt::Test 0043 Qt::DBus 0044 ) 0045