Changeset View
Changeset View
Standalone View
Standalone View
src/server/CMakeLists.txt
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Line(s) | 1 | set(SERVER_LIB_SRCS | |||
---|---|---|---|---|---|
53 | xdgshell_interface.cpp | 53 | xdgshell_interface.cpp | ||
54 | xdgshell_v5_interface.cpp | 54 | xdgshell_v5_interface.cpp | ||
55 | xdgforeign_v2_interface.cpp | 55 | xdgforeign_v2_interface.cpp | ||
56 | xdgforeign_interface.cpp | 56 | xdgforeign_interface.cpp | ||
57 | xdgshell_v5_interface.cpp | 57 | xdgshell_v5_interface.cpp | ||
58 | xdgshell_v6_interface.cpp | 58 | xdgshell_v6_interface.cpp | ||
59 | xdgshell_stable_interface.cpp | 59 | xdgshell_stable_interface.cpp | ||
60 | xdgoutput_interface.cpp | 60 | xdgoutput_interface.cpp | ||
61 | eglstream_controller_interface.cpp | ||||
61 | ../compat/wayland-xdg-shell-v5-protocol.c | 62 | ../compat/wayland-xdg-shell-v5-protocol.c | ||
62 | ) | 63 | ) | ||
63 | 64 | | |||
64 | ecm_qt_declare_logging_category(SERVER_LIB_SRCS HEADER logging.h IDENTIFIER KWAYLAND_SERVER CATEGORY_NAME kwayland-server DEFAULT_SEVERITY Critical) | 65 | ecm_qt_declare_logging_category(SERVER_LIB_SRCS HEADER logging.h IDENTIFIER KWAYLAND_SERVER CATEGORY_NAME kwayland-server DEFAULT_SEVERITY Critical) | ||
65 | 66 | | |||
66 | ecm_add_wayland_server_protocol(SERVER_LIB_SRCS | 67 | ecm_add_wayland_server_protocol(SERVER_LIB_SRCS | ||
67 | PROTOCOL ${KWayland_SOURCE_DIR}/src/client/protocols/output-management.xml | 68 | PROTOCOL ${KWayland_SOURCE_DIR}/src/client/protocols/output-management.xml | ||
68 | BASENAME output-management | 69 | BASENAME output-management | ||
▲ Show 20 Lines • Show All 128 Lines • ▼ Show 20 Line(s) | 196 | ecm_add_wayland_server_protocol(SERVER_LIB_SRCS | |||
197 | BASENAME xdg-shell | 198 | BASENAME xdg-shell | ||
198 | ) | 199 | ) | ||
199 | 200 | | |||
200 | ecm_add_wayland_server_protocol(SERVER_LIB_SRCS | 201 | ecm_add_wayland_server_protocol(SERVER_LIB_SRCS | ||
201 | PROTOCOL ${KWayland_SOURCE_DIR}/src/client/protocols/xdg-decoration-unstable-v1.xml | 202 | PROTOCOL ${KWayland_SOURCE_DIR}/src/client/protocols/xdg-decoration-unstable-v1.xml | ||
202 | BASENAME xdg-decoration | 203 | BASENAME xdg-decoration | ||
203 | ) | 204 | ) | ||
204 | 205 | | |||
206 | ecm_add_wayland_server_protocol(SERVER_LIB_SRCS | ||||
207 | PROTOCOL ${KWayland_SOURCE_DIR}/src/client/protocols/wayland-eglstream-controller.xml | ||||
208 | BASENAME eglstream-controller | ||||
209 | ) | ||||
210 | | ||||
205 | set(SERVER_GENERATED_SRCS | 211 | set(SERVER_GENERATED_SRCS | ||
206 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-management-client-protocol.h | 212 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-management-client-protocol.h | ||
207 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-management-server-protocol.h | 213 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-management-server-protocol.h | ||
208 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-org_kde_kwin_outputdevice-client-protocol.h | 214 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-org_kde_kwin_outputdevice-client-protocol.h | ||
209 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-org_kde_kwin_outputdevice-server-protocol.h | 215 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-org_kde_kwin_outputdevice-server-protocol.h | ||
210 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-shell-client-protocol.h | 216 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-shell-client-protocol.h | ||
211 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-shell-server-protocol.h | 217 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-shell-server-protocol.h | ||
212 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-shell-client-protocol.h | 218 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-shell-client-protocol.h | ||
Show All 39 Lines | |||||
252 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-xdg-foreign-unstable-v2-server-protocol.h | 258 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-xdg-foreign-unstable-v2-server-protocol.h | ||
253 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-idle-inhibit-unstable-v1-client-protocol.h | 259 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-idle-inhibit-unstable-v1-client-protocol.h | ||
254 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-idle-inhibit-unstable-v1-server-protocol.h | 260 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-idle-inhibit-unstable-v1-server-protocol.h | ||
255 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-unstable-v1-client-protocol.h | 261 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-unstable-v1-client-protocol.h | ||
256 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-unstable-v1-server-protocol.h | 262 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-unstable-v1-server-protocol.h | ||
257 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-unstable-v1-client-protocol.h | 263 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-unstable-v1-client-protocol.h | ||
258 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-xdg-decoration-server-protocol.h | 264 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-xdg-decoration-server-protocol.h | ||
259 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-xdg-decoration-client-protocol.h | 265 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-xdg-decoration-client-protocol.h | ||
266 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-eglstream-controller-server-protocol.h | ||||
260 | ) | 267 | ) | ||
261 | 268 | | |||
262 | set_source_files_properties(${SERVER_GENERATED_SRCS} PROPERTIES SKIP_AUTOMOC ON) | 269 | set_source_files_properties(${SERVER_GENERATED_SRCS} PROPERTIES SKIP_AUTOMOC ON) | ||
263 | 270 | | |||
264 | add_library(KF5WaylandServer ${SERVER_LIB_SRCS}) | 271 | add_library(KF5WaylandServer ${SERVER_LIB_SRCS}) | ||
265 | generate_export_header(KF5WaylandServer | 272 | generate_export_header(KF5WaylandServer | ||
266 | BASE_NAME | 273 | BASE_NAME | ||
267 | KWaylandServer | 274 | KWaylandServer | ||
▲ Show 20 Lines • Show All 66 Lines • ▼ Show 20 Line(s) | 299 | set(SERVER_LIB_HEADERS | |||
334 | subcompositor_interface.h | 341 | subcompositor_interface.h | ||
335 | surface_interface.h | 342 | surface_interface.h | ||
336 | textinput_interface.h | 343 | textinput_interface.h | ||
337 | touch_interface.h | 344 | touch_interface.h | ||
338 | xdgdecoration_interface.h | 345 | xdgdecoration_interface.h | ||
339 | xdgshell_interface.h | 346 | xdgshell_interface.h | ||
340 | xdgforeign_interface.h | 347 | xdgforeign_interface.h | ||
341 | xdgoutput_interface.h | 348 | xdgoutput_interface.h | ||
349 | eglstream_controller_interface.h | ||||
romangg: alphabetical sorted | |||||
342 | ) | 350 | ) | ||
343 | 351 | | |||
344 | install(FILES | 352 | install(FILES | ||
345 | ${SERVER_LIB_HEADERS} | 353 | ${SERVER_LIB_HEADERS} | ||
346 | DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KWayland/Server COMPONENT Devel | 354 | DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KWayland/Server COMPONENT Devel | ||
347 | ) | 355 | ) | ||
348 | 356 | | |||
349 | # make available to ecm_add_qch in parent folder | 357 | # make available to ecm_add_qch in parent folder | ||
350 | set(KWaylandServer_APIDOX_SRCS ${SERVER_LIB_HEADERS} PARENT_SCOPE) | 358 | set(KWaylandServer_APIDOX_SRCS ${SERVER_LIB_HEADERS} PARENT_SCOPE) | ||
351 | 359 | | |||
352 | include(ECMGeneratePriFile) | 360 | include(ECMGeneratePriFile) | ||
353 | ecm_generate_pri_file(BASE_NAME KWaylandServer LIB_NAME KF5WaylandServer DEPS "core" FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF5}) | 361 | ecm_generate_pri_file(BASE_NAME KWaylandServer LIB_NAME KF5WaylandServer DEPS "core" FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF5}) | ||
354 | install(FILES ${PRI_FILENAME} | 362 | install(FILES ${PRI_FILENAME} | ||
355 | DESTINATION ${ECM_MKSPECS_INSTALL_DIR}) | 363 | DESTINATION ${ECM_MKSPECS_INSTALL_DIR}) |
alphabetical sorted