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 ../outputorderwatcher.cpp 0009 ) 0010 add_executable(screenpoolmanualtest) 0011 if (QT_MAJOR_VERSION EQUAL "5") 0012 ecm_add_qtwayland_client_protocol(screenpoolmanualtest_SRCS 0013 PROTOCOL ${PLASMA_WAYLAND_PROTOCOLS_DIR}/kde-output-order-v1.xml 0014 BASENAME kde-output-order-v1 0015 ) 0016 else() 0017 qt6_generate_wayland_protocol_client_sources(screenpoolmanualtest FILES 0018 ${PLASMA_WAYLAND_PROTOCOLS_DIR}/kde-output-order-v1.xml) 0019 endif() 0020 0021 target_sources(screenpoolmanualtest PRIVATE ${screenpoolmanualtest_SRCS}) 0022 target_link_libraries(screenpoolmanualtest 0023 Qt::Test 0024 Qt::Gui 0025 Qt::Widgets 0026 Qt::WaylandClient 0027 KF5::ConfigCore 0028 KF5::Service 0029 KF5::WindowSystem 0030 KF5::WaylandClient 0031 Wayland::Client 0032 ) 0033 if(HAVE_X11) 0034 target_link_libraries(screenpoolmanualtest XCB::XCB XCB::RANDR) 0035 if (QT_MAJOR_VERSION EQUAL "5") 0036 target_link_libraries(screenpoolmanualtest Qt::X11Extras) 0037 else() 0038 target_link_libraries(screenpoolmanualtest Qt::GuiPrivate) 0039 endif() 0040 endif() 0041 if(QT_QTOPENGL_FOUND) 0042 target_link_libraries(screenpoolmanualtest Qt::OpenGL) 0043 endif() 0044