Changeset View
Changeset View
Standalone View
Standalone View
src/server/CMakeLists.txt
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Line(s) | 1 | set(SERVER_LIB_SRCS | |||
---|---|---|---|---|---|
49 | textinput_interface.cpp | 49 | textinput_interface.cpp | ||
50 | textinput_interface_v0.cpp | 50 | textinput_interface_v0.cpp | ||
51 | textinput_interface_v2.cpp | 51 | textinput_interface_v2.cpp | ||
52 | xdgshell_interface.cpp | 52 | xdgshell_interface.cpp | ||
53 | xdgshell_v5_interface.cpp | 53 | xdgshell_v5_interface.cpp | ||
54 | xdgforeign_v2_interface.cpp | 54 | xdgforeign_v2_interface.cpp | ||
55 | xdgforeign_interface.cpp | 55 | xdgforeign_interface.cpp | ||
56 | xdgshell_v6_interface.cpp | 56 | xdgshell_v6_interface.cpp | ||
57 | xdgoutput_interface.cpp | ||||
57 | ) | 58 | ) | ||
58 | 59 | | |||
59 | ecm_add_wayland_server_protocol(SERVER_LIB_SRCS | 60 | ecm_add_wayland_server_protocol(SERVER_LIB_SRCS | ||
60 | PROTOCOL ${KWayland_SOURCE_DIR}/src/client/protocols/output-management.xml | 61 | PROTOCOL ${KWayland_SOURCE_DIR}/src/client/protocols/output-management.xml | ||
61 | BASENAME output-management | 62 | BASENAME output-management | ||
62 | ) | 63 | ) | ||
63 | 64 | | |||
64 | ecm_add_wayland_server_protocol(SERVER_LIB_SRCS | 65 | ecm_add_wayland_server_protocol(SERVER_LIB_SRCS | ||
▲ Show 20 Lines • Show All 110 Lines • ▼ Show 20 Line(s) | 174 | ecm_add_wayland_server_protocol(SERVER_LIB_SRCS | |||
175 | BASENAME server_decoration_palette | 176 | BASENAME server_decoration_palette | ||
176 | ) | 177 | ) | ||
177 | 178 | | |||
178 | ecm_add_wayland_server_protocol(SERVER_LIB_SRCS | 179 | ecm_add_wayland_server_protocol(SERVER_LIB_SRCS | ||
179 | PROTOCOL ${KWayland_SOURCE_DIR}/src/client/protocols/remote-access.xml | 180 | PROTOCOL ${KWayland_SOURCE_DIR}/src/client/protocols/remote-access.xml | ||
180 | BASENAME remote-access | 181 | BASENAME remote-access | ||
181 | ) | 182 | ) | ||
182 | 183 | | |||
184 | ecm_add_wayland_server_protocol(SERVER_LIB_SRCS | ||||
185 | PROTOCOL ${KWayland_SOURCE_DIR}/src/client/protocols/xdg-output-unstable-v1.xml | ||||
186 | BASENAME xdg-output | ||||
187 | ) | ||||
188 | | ||||
183 | set(SERVER_GENERATED_SRCS | 189 | set(SERVER_GENERATED_SRCS | ||
184 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-management-client-protocol.h | 190 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-management-client-protocol.h | ||
185 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-management-server-protocol.h | 191 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-management-server-protocol.h | ||
186 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-org_kde_kwin_outputdevice-client-protocol.h | 192 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-org_kde_kwin_outputdevice-client-protocol.h | ||
187 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-org_kde_kwin_outputdevice-server-protocol.h | 193 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-org_kde_kwin_outputdevice-server-protocol.h | ||
188 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-shell-client-protocol.h | 194 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-shell-client-protocol.h | ||
189 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-shell-server-protocol.h | 195 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-shell-server-protocol.h | ||
190 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-window-management-client-protocol.h | 196 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-window-management-client-protocol.h | ||
Show All 31 Lines | |||||
222 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-pointer-gestures-unstable-v1-client-protocol.h | 228 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-pointer-gestures-unstable-v1-client-protocol.h | ||
223 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-pointer-gestures-unstable-v1-server-protocol.h | 229 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-pointer-gestures-unstable-v1-server-protocol.h | ||
224 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-pointer-constraints-unstable-v1-client-protocol.h | 230 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-pointer-constraints-unstable-v1-client-protocol.h | ||
225 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-pointer-constraints-unstable-v1-server-protocol.h | 231 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-pointer-constraints-unstable-v1-server-protocol.h | ||
226 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-xdg-foreign-unstable-v2-client-protocol.h | 232 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-xdg-foreign-unstable-v2-client-protocol.h | ||
227 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-xdg-foreign-unstable-v2-server-protocol.h | 233 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-xdg-foreign-unstable-v2-server-protocol.h | ||
228 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-idle-inhibit-unstable-v1-client-protocol.h | 234 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-idle-inhibit-unstable-v1-client-protocol.h | ||
229 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-idle-inhibit-unstable-v1-server-protocol.h | 235 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-idle-inhibit-unstable-v1-server-protocol.h | ||
236 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-unstable-v1-client-protocol.h | ||||
237 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-unstable-v1-server-protocol.h | ||||
230 | ) | 238 | ) | ||
231 | 239 | | |||
232 | set_source_files_properties(${SERVER_GENERATED_SRCS} PROPERTIES SKIP_AUTOMOC ON) | 240 | set_source_files_properties(${SERVER_GENERATED_SRCS} PROPERTIES SKIP_AUTOMOC ON) | ||
233 | 241 | | |||
234 | add_library(KF5WaylandServer ${SERVER_LIB_SRCS}) | 242 | add_library(KF5WaylandServer ${SERVER_LIB_SRCS}) | ||
235 | generate_export_header(KF5WaylandServer | 243 | generate_export_header(KF5WaylandServer | ||
236 | BASE_NAME | 244 | BASE_NAME | ||
237 | KWaylandServer | 245 | KWaylandServer | ||
▲ Show 20 Lines • Show All 63 Lines • ▼ Show 20 Line(s) | 270 | set(SERVER_LIB_HEADERS | |||
301 | shell_interface.h | 309 | shell_interface.h | ||
302 | slide_interface.h | 310 | slide_interface.h | ||
303 | subcompositor_interface.h | 311 | subcompositor_interface.h | ||
304 | surface_interface.h | 312 | surface_interface.h | ||
305 | textinput_interface.h | 313 | textinput_interface.h | ||
306 | touch_interface.h | 314 | touch_interface.h | ||
307 | xdgshell_interface.h | 315 | xdgshell_interface.h | ||
308 | xdgforeign_interface.h | 316 | xdgforeign_interface.h | ||
317 | xdgoutput_interface.h | ||||
309 | ) | 318 | ) | ||
310 | 319 | | |||
311 | install(FILES | 320 | install(FILES | ||
312 | ${SERVER_LIB_HEADERS} | 321 | ${SERVER_LIB_HEADERS} | ||
313 | DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KWayland/Server COMPONENT Devel | 322 | DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KWayland/Server COMPONENT Devel | ||
314 | ) | 323 | ) | ||
315 | 324 | | |||
316 | # make available to ecm_add_qch in parent folder | 325 | # make available to ecm_add_qch in parent folder | ||
317 | set(KWaylandServer_APIDOX_SRCS ${SERVER_LIB_HEADERS} PARENT_SCOPE) | 326 | set(KWaylandServer_APIDOX_SRCS ${SERVER_LIB_HEADERS} PARENT_SCOPE) | ||
318 | 327 | | |||
319 | include(ECMGeneratePriFile) | 328 | include(ECMGeneratePriFile) | ||
320 | ecm_generate_pri_file(BASE_NAME KWaylandServer LIB_NAME KF5WaylandServer DEPS "core" FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF5}) | 329 | ecm_generate_pri_file(BASE_NAME KWaylandServer LIB_NAME KF5WaylandServer DEPS "core" FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF5}) | ||
321 | install(FILES ${PRI_FILENAME} | 330 | install(FILES ${PRI_FILENAME} | ||
322 | DESTINATION ${ECM_MKSPECS_INSTALL_DIR}) | 331 | DESTINATION ${ECM_MKSPECS_INSTALL_DIR}) |