Changeset View
Changeset View
Standalone View
Standalone View
autotests/CMakeLists.txt
Show First 20 Lines • Show All 243 Lines • ▼ Show 20 Line(s) | |||||
244 | ######################################################## | 244 | ######################################################## | ||
245 | # Test Screens | 245 | # Test Screens | ||
246 | ######################################################## | 246 | ######################################################## | ||
247 | set(testScreens_SRCS | 247 | set(testScreens_SRCS | ||
248 | ../orientation_sensor.cpp | 248 | ../orientation_sensor.cpp | ||
249 | ../screens.cpp | 249 | ../screens.cpp | ||
250 | ../x11eventfilter.cpp | 250 | ../x11eventfilter.cpp | ||
251 | mock_abstract_client.cpp | 251 | mock_abstract_client.cpp | ||
252 | mock_client.cpp | | |||
253 | mock_screens.cpp | 252 | mock_screens.cpp | ||
254 | mock_workspace.cpp | 253 | mock_workspace.cpp | ||
254 | mock_x11client.cpp | ||||
255 | test_screens.cpp | 255 | test_screens.cpp | ||
256 | ) | 256 | ) | ||
257 | kconfig_add_kcfg_files(testScreens_SRCS ../settings.kcfgc) | 257 | kconfig_add_kcfg_files(testScreens_SRCS ../settings.kcfgc) | ||
258 | qt5_add_dbus_adaptor(testScreens_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/../org.kde.kwin.OrientationSensor.xml ${CMAKE_CURRENT_SOURCE_DIR}/../orientation_sensor.h KWin::OrientationSensor) | 258 | qt5_add_dbus_adaptor(testScreens_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/../org.kde.kwin.OrientationSensor.xml ${CMAKE_CURRENT_SOURCE_DIR}/../orientation_sensor.h KWin::OrientationSensor) | ||
259 | 259 | | |||
260 | add_executable(testScreens ${testScreens_SRCS}) | 260 | add_executable(testScreens ${testScreens_SRCS}) | ||
261 | target_include_directories(testScreens BEFORE PRIVATE ./) | 261 | target_include_directories(testScreens BEFORE PRIVATE ./) | ||
262 | target_link_libraries(testScreens | 262 | target_link_libraries(testScreens | ||
Show All 21 Lines | 282 | set(testScreenEdges_SRCS | |||
284 | ../gestures.cpp | 284 | ../gestures.cpp | ||
285 | ../orientation_sensor.cpp | 285 | ../orientation_sensor.cpp | ||
286 | ../plugins/platforms/x11/standalone/edge.cpp | 286 | ../plugins/platforms/x11/standalone/edge.cpp | ||
287 | ../screenedge.cpp | 287 | ../screenedge.cpp | ||
288 | ../screens.cpp | 288 | ../screens.cpp | ||
289 | ../virtualdesktops.cpp | 289 | ../virtualdesktops.cpp | ||
290 | ../xcbutils.cpp # init of extensions | 290 | ../xcbutils.cpp # init of extensions | ||
291 | mock_abstract_client.cpp | 291 | mock_abstract_client.cpp | ||
292 | mock_client.cpp | | |||
293 | mock_screens.cpp | 292 | mock_screens.cpp | ||
294 | mock_workspace.cpp | 293 | mock_workspace.cpp | ||
294 | mock_x11client.cpp | ||||
295 | test_screen_edges.cpp | 295 | test_screen_edges.cpp | ||
296 | ) | 296 | ) | ||
297 | kconfig_add_kcfg_files(testScreenEdges_SRCS ../settings.kcfgc) | 297 | kconfig_add_kcfg_files(testScreenEdges_SRCS ../settings.kcfgc) | ||
298 | qt5_add_dbus_interface(testScreenEdges_SRCS ${KSCREENLOCKER_DBUS_INTERFACES_DIR}/kf5_org.freedesktop.ScreenSaver.xml screenlocker_interface ) | 298 | qt5_add_dbus_interface(testScreenEdges_SRCS ${KSCREENLOCKER_DBUS_INTERFACES_DIR}/kf5_org.freedesktop.ScreenSaver.xml screenlocker_interface ) | ||
299 | qt5_add_dbus_adaptor(testScreenEdges_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/../org.kde.kwin.OrientationSensor.xml ${CMAKE_CURRENT_SOURCE_DIR}/../orientation_sensor.h KWin::OrientationSensor) | 299 | qt5_add_dbus_adaptor(testScreenEdges_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/../org.kde.kwin.OrientationSensor.xml ${CMAKE_CURRENT_SOURCE_DIR}/../orientation_sensor.h KWin::OrientationSensor) | ||
300 | 300 | | |||
301 | add_executable(testScreenEdges ${testScreenEdges_SRCS}) | 301 | add_executable(testScreenEdges ${testScreenEdges_SRCS}) | ||
302 | set_target_properties(testScreenEdges PROPERTIES COMPILE_DEFINITIONS "NO_NONE_WINDOW") | 302 | set_target_properties(testScreenEdges PROPERTIES COMPILE_DEFINITIONS "NO_NONE_WINDOW") | ||
▲ Show 20 Lines • Show All 125 Lines • Show Last 20 Lines |