Changeset View
Changeset View
Standalone View
Standalone View
src/server/CMakeLists.txt
Show All 11 Lines | 1 | set(SERVER_LIB_SRCS | |||
---|---|---|---|---|---|
12 | filtered_display.cpp | 12 | filtered_display.cpp | ||
13 | global.cpp | 13 | global.cpp | ||
14 | idle_interface.cpp | 14 | idle_interface.cpp | ||
15 | idleinhibit_interface.cpp | 15 | idleinhibit_interface.cpp | ||
16 | idleinhibit_interface_v1.cpp | 16 | idleinhibit_interface_v1.cpp | ||
17 | fakeinput_interface.cpp | 17 | fakeinput_interface.cpp | ||
18 | keyboard_interface.cpp | 18 | keyboard_interface.cpp | ||
19 | keystate_interface.cpp | 19 | keystate_interface.cpp | ||
20 | linuxdmabuf_v1_interface.cpp | ||||
20 | remote_access_interface.cpp | 21 | remote_access_interface.cpp | ||
21 | outputconfiguration_interface.cpp | 22 | outputconfiguration_interface.cpp | ||
22 | outputchangeset.cpp | 23 | outputchangeset.cpp | ||
23 | outputmanagement_interface.cpp | 24 | outputmanagement_interface.cpp | ||
24 | outputdevice_interface.cpp | 25 | outputdevice_interface.cpp | ||
25 | output_interface.cpp | 26 | output_interface.cpp | ||
26 | pointer_interface.cpp | 27 | pointer_interface.cpp | ||
27 | plasmashell_interface.cpp | 28 | plasmashell_interface.cpp | ||
▲ Show 20 Lines • Show All 181 Lines • ▼ Show 20 Line(s) | 208 | ecm_add_wayland_server_protocol(SERVER_LIB_SRCS | |||
209 | BASENAME eglstream-controller | 210 | BASENAME eglstream-controller | ||
210 | ) | 211 | ) | ||
211 | 212 | | |||
212 | ecm_add_wayland_server_protocol(SERVER_LIB_SRCS | 213 | ecm_add_wayland_server_protocol(SERVER_LIB_SRCS | ||
213 | PROTOCOL ${KWayland_SOURCE_DIR}/src/client/protocols/keystate.xml | 214 | PROTOCOL ${KWayland_SOURCE_DIR}/src/client/protocols/keystate.xml | ||
214 | BASENAME keystate | 215 | BASENAME keystate | ||
215 | ) | 216 | ) | ||
216 | 217 | | |||
218 | ecm_add_wayland_server_protocol(SERVER_LIB_SRCS | ||||
219 | PROTOCOL ${KWayland_SOURCE_DIR}/src/client/protocols/linux-dmabuf-unstable-v1.xml | ||||
220 | BASENAME linux-dmabuf-unstable-v1 | ||||
221 | ) | ||||
222 | | ||||
217 | set(SERVER_GENERATED_SRCS | 223 | set(SERVER_GENERATED_SRCS | ||
218 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-management-client-protocol.h | 224 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-management-client-protocol.h | ||
219 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-management-server-protocol.h | 225 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-management-server-protocol.h | ||
220 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-org_kde_kwin_outputdevice-client-protocol.h | 226 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-org_kde_kwin_outputdevice-client-protocol.h | ||
221 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-org_kde_kwin_outputdevice-server-protocol.h | 227 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-org_kde_kwin_outputdevice-server-protocol.h | ||
222 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-shell-client-protocol.h | 228 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-shell-client-protocol.h | ||
223 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-shell-server-protocol.h | 229 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-shell-server-protocol.h | ||
224 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-shell-client-protocol.h | 230 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-shell-client-protocol.h | ||
Show All 40 Lines | |||||
265 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-idle-inhibit-unstable-v1-client-protocol.h | 271 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-idle-inhibit-unstable-v1-client-protocol.h | ||
266 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-idle-inhibit-unstable-v1-server-protocol.h | 272 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-idle-inhibit-unstable-v1-server-protocol.h | ||
267 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-unstable-v1-client-protocol.h | 273 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-unstable-v1-client-protocol.h | ||
268 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-unstable-v1-server-protocol.h | 274 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-unstable-v1-server-protocol.h | ||
269 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-unstable-v1-client-protocol.h | 275 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-unstable-v1-client-protocol.h | ||
270 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-xdg-decoration-server-protocol.h | 276 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-xdg-decoration-server-protocol.h | ||
271 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-xdg-decoration-client-protocol.h | 277 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-xdg-decoration-client-protocol.h | ||
272 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-eglstream-controller-server-protocol.h | 278 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-eglstream-controller-server-protocol.h | ||
279 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-linux-dmabuf-unstable-v1-server-protocol.h | ||||
273 | ) | 280 | ) | ||
274 | 281 | | |||
275 | set_source_files_properties(${SERVER_GENERATED_SRCS} PROPERTIES SKIP_AUTOMOC ON) | 282 | set_source_files_properties(${SERVER_GENERATED_SRCS} PROPERTIES SKIP_AUTOMOC ON) | ||
276 | 283 | | |||
277 | add_library(KF5WaylandServer ${SERVER_LIB_SRCS}) | 284 | add_library(KF5WaylandServer ${SERVER_LIB_SRCS}) | ||
278 | generate_export_header(KF5WaylandServer | 285 | generate_export_header(KF5WaylandServer | ||
279 | BASE_NAME | 286 | BASE_NAME | ||
280 | KWaylandServer | 287 | KWaylandServer | ||
▲ Show 20 Lines • Show All 68 Lines • ▼ Show 20 Line(s) | 312 | set(SERVER_LIB_HEADERS | |||
349 | subcompositor_interface.h | 356 | subcompositor_interface.h | ||
350 | surface_interface.h | 357 | surface_interface.h | ||
351 | textinput_interface.h | 358 | textinput_interface.h | ||
352 | touch_interface.h | 359 | touch_interface.h | ||
353 | xdgdecoration_interface.h | 360 | xdgdecoration_interface.h | ||
354 | xdgshell_interface.h | 361 | xdgshell_interface.h | ||
355 | xdgforeign_interface.h | 362 | xdgforeign_interface.h | ||
356 | xdgoutput_interface.h | 363 | xdgoutput_interface.h | ||
364 | linuxdmabuf_v1_interface.h | ||||
357 | ) | 365 | ) | ||
358 | 366 | | |||
359 | install(FILES | 367 | install(FILES | ||
360 | ${SERVER_LIB_HEADERS} | 368 | ${SERVER_LIB_HEADERS} | ||
361 | DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KWayland/Server COMPONENT Devel | 369 | DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KWayland/Server COMPONENT Devel | ||
362 | ) | 370 | ) | ||
363 | 371 | | |||
364 | # make available to ecm_add_qch in parent folder | 372 | # make available to ecm_add_qch in parent folder | ||
365 | set(KWaylandServer_APIDOX_SRCS ${SERVER_LIB_HEADERS} PARENT_SCOPE) | 373 | set(KWaylandServer_APIDOX_SRCS ${SERVER_LIB_HEADERS} PARENT_SCOPE) | ||
366 | 374 | | |||
367 | include(ECMGeneratePriFile) | 375 | include(ECMGeneratePriFile) | ||
368 | ecm_generate_pri_file(BASE_NAME KWaylandServer LIB_NAME KF5WaylandServer DEPS "core" FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF5}) | 376 | ecm_generate_pri_file(BASE_NAME KWaylandServer LIB_NAME KF5WaylandServer DEPS "core" FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF5}) | ||
369 | install(FILES ${PRI_FILENAME} | 377 | install(FILES ${PRI_FILENAME} | ||
370 | DESTINATION ${ECM_MKSPECS_INSTALL_DIR}) | 378 | DESTINATION ${ECM_MKSPECS_INSTALL_DIR}) |