Changeset View
Changeset View
Standalone View
Standalone View
src/client/CMakeLists.txt
Show First 20 Lines • Show All 184 Lines • ▼ Show 20 Line(s) | 183 | ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS | |||
---|---|---|---|---|---|
185 | BASENAME xdg-shell | 185 | BASENAME xdg-shell | ||
186 | ) | 186 | ) | ||
187 | 187 | | |||
188 | ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS | 188 | ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS | ||
189 | PROTOCOL ${WaylandProtocols_DATADIR}/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml | 189 | PROTOCOL ${WaylandProtocols_DATADIR}/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml | ||
190 | BASENAME xdg-decoration-unstable-v1 | 190 | BASENAME xdg-decoration-unstable-v1 | ||
191 | ) | 191 | ) | ||
192 | 192 | | |||
193 | ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS | 193 | ecm_add_qtwayland_client_protocol(CLIENT_LIB_SRCS | ||
194 | PROTOCOL ${KWayland_SOURCE_DIR}/src/client/protocols/keystate.xml | 194 | PROTOCOL ${KWayland_SOURCE_DIR}/src/client/protocols/keystate.xml | ||
195 | BASENAME keystate | 195 | BASENAME keystate | ||
196 | ) | 196 | ) | ||
197 | 197 | | |||
198 | set(CLIENT_GENERATED_FILES | 198 | set(CLIENT_GENERATED_FILES | ||
199 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-fullscreen-shell-client-protocol.h | 199 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-fullscreen-shell-client-protocol.h | ||
200 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-management-client-protocol.h | 200 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-management-client-protocol.h | ||
201 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-org_kde_kwin_outputdevice-client-protocol.h | 201 | ${CMAKE_CURRENT_BINARY_DIR}/wayland-org_kde_kwin_outputdevice-client-protocol.h | ||
Show All 38 Lines | |||||
240 | add_library(KF5::WaylandClient ALIAS KF5WaylandClient) | 240 | add_library(KF5::WaylandClient ALIAS KF5WaylandClient) | ||
241 | 241 | | |||
242 | target_include_directories(KF5WaylandClient INTERFACE "$<INSTALL_INTERFACE:${KF5_INCLUDE_INSTALL_DIR}/KWayland/Client>") | 242 | target_include_directories(KF5WaylandClient INTERFACE "$<INSTALL_INTERFACE:${KF5_INCLUDE_INSTALL_DIR}/KWayland/Client>") | ||
243 | 243 | | |||
244 | target_link_libraries(KF5WaylandClient | 244 | target_link_libraries(KF5WaylandClient | ||
245 | PUBLIC Qt5::Gui | 245 | PUBLIC Qt5::Gui | ||
246 | PRIVATE Wayland::Client | 246 | PRIVATE Wayland::Client | ||
247 | Qt5::Concurrent | 247 | Qt5::Concurrent | ||
248 | Qt5::WaylandClient | ||||
248 | ) | 249 | ) | ||
249 | 250 | | |||
250 | set_target_properties(KF5WaylandClient PROPERTIES VERSION ${KWAYLAND_VERSION_STRING} | 251 | set_target_properties(KF5WaylandClient PROPERTIES VERSION ${KWAYLAND_VERSION_STRING} | ||
251 | SOVERSION ${KWAYLAND_SOVERSION} | 252 | SOVERSION ${KWAYLAND_SOVERSION} | ||
252 | EXPORT_NAME WaylandClient | 253 | EXPORT_NAME WaylandClient | ||
253 | ) | 254 | ) | ||
254 | 255 | | |||
255 | install(TARGETS KF5WaylandClient EXPORT KF5WaylandTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) | 256 | install(TARGETS KF5WaylandClient EXPORT KF5WaylandTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) | ||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |