Changeset View
Changeset View
Standalone View
Standalone View
src/client/CMakeLists.txt
1 | remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY) | 1 | remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY) | ||
---|---|---|---|---|---|
2 | remove_definitions(-DQT_NO_CAST_FROM_ASCII) | 2 | remove_definitions(-DQT_NO_CAST_FROM_ASCII) | ||
3 | remove_definitions(-DQT_NO_CAST_TO_ASCII) | 3 | remove_definitions(-DQT_NO_CAST_TO_ASCII) | ||
4 | 4 | | |||
5 | # needed to access QPA | 5 | # needed to access QPA | ||
6 | include_directories(${Qt5Gui_PRIVATE_INCLUDE_DIRS}) | 6 | include_directories(${Qt5Gui_PRIVATE_INCLUDE_DIRS}) | ||
7 | 7 | | |||
8 | set(CLIENT_LIB_SRCS | 8 | set(CLIENT_LIB_SRCS | ||
9 | appmenu.cpp | ||||
9 | buffer.cpp | 10 | buffer.cpp | ||
10 | blur.cpp | 11 | blur.cpp | ||
11 | compositor.cpp | 12 | compositor.cpp | ||
12 | connection_thread.cpp | 13 | connection_thread.cpp | ||
13 | contrast.cpp | 14 | contrast.cpp | ||
14 | slide.cpp | 15 | slide.cpp | ||
15 | event_queue.cpp | 16 | event_queue.cpp | ||
16 | datadevice.cpp | 17 | datadevice.cpp | ||
▲ Show 20 Lines • Show All 132 Lines • ▼ Show 20 Line(s) | |||||
149 | ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS | 150 | ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS | ||
150 | PROTOCOL ${KWayland_SOURCE_DIR}/src/client/protocols/xdg-foreign-unstable-v2.xml | 151 | PROTOCOL ${KWayland_SOURCE_DIR}/src/client/protocols/xdg-foreign-unstable-v2.xml | ||
151 | BASENAME xdg-foreign-unstable-v2 | 152 | BASENAME xdg-foreign-unstable-v2 | ||
152 | ) | 153 | ) | ||
153 | ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS | 154 | ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS | ||
154 | PROTOCOL ${KWayland_SOURCE_DIR}/src/client/protocols/idle-inhibit-unstable-v1.xml | 155 | PROTOCOL ${KWayland_SOURCE_DIR}/src/client/protocols/idle-inhibit-unstable-v1.xml | ||
155 | BASENAME idle-inhibit-unstable-v1 | 156 | BASENAME idle-inhibit-unstable-v1 | ||
156 | ) | 157 | ) | ||
158 | ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS | ||||
159 | PROTOCOL ${KWayland_SOURCE_DIR}/src/client/protocols/appmenu.xml | ||||
160 | BASENAME appmenu | ||||
161 | ) | ||||
157 | 162 | | |||
158 | add_library(KF5WaylandClient ${CLIENT_LIB_SRCS}) | 163 | add_library(KF5WaylandClient ${CLIENT_LIB_SRCS}) | ||
159 | generate_export_header(KF5WaylandClient | 164 | generate_export_header(KF5WaylandClient | ||
160 | BASE_NAME | 165 | BASE_NAME | ||
161 | KWaylandClient | 166 | KWaylandClient | ||
162 | EXPORT_FILE_NAME | 167 | EXPORT_FILE_NAME | ||
163 | KWayland/Client/kwaylandclient_export.h | 168 | KWayland/Client/kwaylandclient_export.h | ||
164 | ) | 169 | ) | ||
Show All 11 Lines | 180 | set_target_properties(KF5WaylandClient PROPERTIES VERSION ${KWAYLAND_VERSION_STRING} | |||
176 | SOVERSION ${KWAYLAND_SOVERSION} | 181 | SOVERSION ${KWAYLAND_SOVERSION} | ||
177 | EXPORT_NAME WaylandClient | 182 | EXPORT_NAME WaylandClient | ||
178 | ) | 183 | ) | ||
179 | 184 | | |||
180 | install(TARGETS KF5WaylandClient EXPORT KF5WaylandTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) | 185 | install(TARGETS KF5WaylandClient EXPORT KF5WaylandTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) | ||
181 | 186 | | |||
182 | set(CLIENT_LIB_HEADERS | 187 | set(CLIENT_LIB_HEADERS | ||
183 | ${CMAKE_CURRENT_BINARY_DIR}/KWayland/Client/kwaylandclient_export.h | 188 | ${CMAKE_CURRENT_BINARY_DIR}/KWayland/Client/kwaylandclient_export.h | ||
189 | appmenu.h | ||||
184 | blur.h | 190 | blur.h | ||
185 | buffer.h | 191 | buffer.h | ||
186 | compositor.h | 192 | compositor.h | ||
187 | connection_thread.h | 193 | connection_thread.h | ||
188 | contrast.h | 194 | contrast.h | ||
189 | event_queue.h | 195 | event_queue.h | ||
190 | datadevice.h | 196 | datadevice.h | ||
191 | datadevicemanager.h | 197 | datadevicemanager.h | ||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |