Changeset View
Changeset View
Standalone View
Standalone View
autotests/CMakeLists.txt
Show First 20 Lines • Show All 158 Lines • ▼ Show 20 Line(s) | 153 | set( testScriptedEffectLoader_SRCS | |||
---|---|---|---|---|---|
159 | ../effectloader.cpp | 159 | ../effectloader.cpp | ||
160 | ../scripting/scriptedeffect.cpp | 160 | ../scripting/scriptedeffect.cpp | ||
161 | ../scripting/scriptingutils.cpp | 161 | ../scripting/scriptingutils.cpp | ||
162 | ../scripting/scripting_logging.cpp | 162 | ../scripting/scripting_logging.cpp | ||
163 | ../screens.cpp | 163 | ../screens.cpp | ||
164 | ../orientation_sensor.cpp | 164 | ../orientation_sensor.cpp | ||
165 | ) | 165 | ) | ||
166 | kconfig_add_kcfg_files(testScriptedEffectLoader_SRCS ../settings.kcfgc) | 166 | kconfig_add_kcfg_files(testScriptedEffectLoader_SRCS ../settings.kcfgc) | ||
167 | qt5_add_dbus_adaptor( testScriptedEffectLoader_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/../org.kde.kwin.OrientationSensor.xml ${CMAKE_CURRENT_SOURCE_DIR}/../orientation_sensor.h KWin::OrientationSensor) | ||||
167 | add_executable( testScriptedEffectLoader ${testScriptedEffectLoader_SRCS}) | 168 | add_executable( testScriptedEffectLoader ${testScriptedEffectLoader_SRCS}) | ||
168 | 169 | | |||
169 | target_link_libraries(testScriptedEffectLoader | 170 | target_link_libraries(testScriptedEffectLoader | ||
170 | Qt5::Concurrent | 171 | Qt5::Concurrent | ||
171 | Qt5::Qml | 172 | Qt5::Qml | ||
172 | Qt5::Script | 173 | Qt5::Script | ||
173 | Qt5::Sensors | 174 | Qt5::Sensors | ||
174 | Qt5::Test | 175 | Qt5::Test | ||
▲ Show 20 Lines • Show All 55 Lines • ▼ Show 20 Line(s) | 228 | set( testScreens_SRCS | |||
230 | mock_client.cpp | 231 | mock_client.cpp | ||
231 | mock_screens.cpp | 232 | mock_screens.cpp | ||
232 | mock_workspace.cpp | 233 | mock_workspace.cpp | ||
233 | ../screens.cpp | 234 | ../screens.cpp | ||
234 | ../x11eventfilter.cpp | 235 | ../x11eventfilter.cpp | ||
235 | ../orientation_sensor.cpp | 236 | ../orientation_sensor.cpp | ||
236 | ) | 237 | ) | ||
237 | kconfig_add_kcfg_files(testScreens_SRCS ../settings.kcfgc) | 238 | kconfig_add_kcfg_files(testScreens_SRCS ../settings.kcfgc) | ||
239 | qt5_add_dbus_adaptor( testScreens_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/../org.kde.kwin.OrientationSensor.xml ${CMAKE_CURRENT_SOURCE_DIR}/../orientation_sensor.h KWin::OrientationSensor) | ||||
238 | 240 | | |||
239 | add_executable( testScreens ${testScreens_SRCS}) | 241 | add_executable( testScreens ${testScreens_SRCS}) | ||
240 | target_include_directories(testScreens BEFORE PRIVATE ./) | 242 | target_include_directories(testScreens BEFORE PRIVATE ./) | ||
241 | target_link_libraries(testScreens | 243 | target_link_libraries(testScreens | ||
244 | Qt5::DBus | ||||
242 | Qt5::Sensors | 245 | Qt5::Sensors | ||
243 | Qt5::Test | 246 | Qt5::Test | ||
244 | Qt5::X11Extras | 247 | Qt5::X11Extras | ||
245 | KF5::ConfigCore | 248 | KF5::ConfigCore | ||
246 | KF5::ConfigGui | 249 | KF5::ConfigGui | ||
247 | KF5::I18n | 250 | KF5::I18n | ||
248 | KF5::Notifications | 251 | KF5::Notifications | ||
249 | KF5::WindowSystem | 252 | KF5::WindowSystem | ||
Show All 13 Lines | 261 | set( testXRandRScreens_SRCS | |||
263 | mock_workspace.cpp | 266 | mock_workspace.cpp | ||
264 | ../screens.cpp | 267 | ../screens.cpp | ||
265 | ../plugins/platforms/x11/standalone/screens_xrandr.cpp | 268 | ../plugins/platforms/x11/standalone/screens_xrandr.cpp | ||
266 | ../xcbutils.cpp # init of extensions | 269 | ../xcbutils.cpp # init of extensions | ||
267 | ../x11eventfilter.cpp | 270 | ../x11eventfilter.cpp | ||
268 | ../orientation_sensor.cpp | 271 | ../orientation_sensor.cpp | ||
269 | ) | 272 | ) | ||
270 | kconfig_add_kcfg_files(testXRandRScreens_SRCS ../settings.kcfgc) | 273 | kconfig_add_kcfg_files(testXRandRScreens_SRCS ../settings.kcfgc) | ||
274 | qt5_add_dbus_adaptor( testXRandRScreens_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/../org.kde.kwin.OrientationSensor.xml ${CMAKE_CURRENT_SOURCE_DIR}/../orientation_sensor.h KWin::OrientationSensor) | ||||
271 | add_executable( testXRandRScreens ${testXRandRScreens_SRCS} ) | 275 | add_executable( testXRandRScreens ${testXRandRScreens_SRCS} ) | ||
272 | target_link_libraries( testXRandRScreens | 276 | target_link_libraries( testXRandRScreens | ||
273 | Qt5::Test | 277 | Qt5::Test | ||
278 | Qt5::DBus | ||||
274 | Qt5::Gui | 279 | Qt5::Gui | ||
275 | Qt5::Sensors | 280 | Qt5::Sensors | ||
276 | KF5::ConfigCore | 281 | KF5::ConfigCore | ||
277 | KF5::ConfigGui | 282 | KF5::ConfigGui | ||
278 | KF5::I18n | 283 | KF5::I18n | ||
279 | KF5::Notifications | 284 | KF5::Notifications | ||
280 | KF5::WindowSystem | 285 | KF5::WindowSystem | ||
281 | XCB::XCB | 286 | XCB::XCB | ||
Show All 24 Lines | 302 | set( testScreenEdges_SRCS | |||
306 | ../screenedge.cpp | 311 | ../screenedge.cpp | ||
307 | ../virtualdesktops.cpp | 312 | ../virtualdesktops.cpp | ||
308 | ../xcbutils.cpp # init of extensions | 313 | ../xcbutils.cpp # init of extensions | ||
309 | ../plugins/platforms/x11/standalone/edge.cpp | 314 | ../plugins/platforms/x11/standalone/edge.cpp | ||
310 | ../orientation_sensor.cpp | 315 | ../orientation_sensor.cpp | ||
311 | ) | 316 | ) | ||
312 | kconfig_add_kcfg_files(testScreenEdges_SRCS ../settings.kcfgc) | 317 | kconfig_add_kcfg_files(testScreenEdges_SRCS ../settings.kcfgc) | ||
313 | qt5_add_dbus_interface( testScreenEdges_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/../org.freedesktop.ScreenSaver.xml screenlocker_interface) | 318 | qt5_add_dbus_interface( testScreenEdges_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/../org.freedesktop.ScreenSaver.xml screenlocker_interface) | ||
319 | qt5_add_dbus_adaptor( testScreenEdges_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/../org.kde.kwin.OrientationSensor.xml ${CMAKE_CURRENT_SOURCE_DIR}/../orientation_sensor.h KWin::OrientationSensor) | ||||
314 | 320 | | |||
315 | add_executable( testScreenEdges ${testScreenEdges_SRCS}) | 321 | add_executable( testScreenEdges ${testScreenEdges_SRCS}) | ||
316 | set_target_properties(testScreenEdges PROPERTIES COMPILE_DEFINITIONS "NO_NONE_WINDOW") | 322 | set_target_properties(testScreenEdges PROPERTIES COMPILE_DEFINITIONS "NO_NONE_WINDOW") | ||
317 | target_include_directories(testScreenEdges BEFORE PRIVATE ./) | 323 | target_include_directories(testScreenEdges BEFORE PRIVATE ./) | ||
318 | target_link_libraries(testScreenEdges | 324 | target_link_libraries(testScreenEdges | ||
319 | Qt5::DBus | 325 | Qt5::DBus | ||
320 | Qt5::Sensors | 326 | Qt5::Sensors | ||
321 | Qt5::Test | 327 | Qt5::Test | ||
▲ Show 20 Lines • Show All 115 Lines • Show Last 20 Lines |