2015-12-02 05:57:53 +00:00
|
|
|
include(Wayland)
|
|
|
|
|
|
|
|
WAYLAND_ADD_PROTOCOL_CLIENT(proto-client-xdg-shell
|
|
|
|
xdg-shell.xml
|
|
|
|
xdg-shell
|
|
|
|
)
|
|
|
|
WAYLAND_ADD_PROTOCOL_CLIENT(proto-client-desktop-shell
|
|
|
|
desktop-shell.xml
|
|
|
|
desktop-shell
|
|
|
|
)
|
|
|
|
WAYLAND_ADD_PROTOCOL_SERVER(proto-server-desktop-shell
|
|
|
|
desktop-shell.xml
|
|
|
|
desktop-shell
|
|
|
|
)
|
|
|
|
|
2015-12-03 13:35:22 +00:00
|
|
|
WAYLAND_ADD_PROTOCOL_CLIENT(proto-client-swaylock
|
|
|
|
swaylock.xml
|
|
|
|
swaylock
|
|
|
|
)
|
|
|
|
WAYLAND_ADD_PROTOCOL_SERVER(proto-server-swaylock
|
|
|
|
swaylock.xml
|
|
|
|
swaylock
|
|
|
|
)
|
|
|
|
|
2016-12-28 07:04:51 +00:00
|
|
|
WAYLAND_ADD_PROTOCOL_SERVER(proto-server-gamma-control
|
|
|
|
gamma-control.xml
|
|
|
|
gamma-control
|
|
|
|
)
|
|
|
|
|
2017-04-29 00:32:05 +00:00
|
|
|
WAYLAND_ADD_PROTOCOL_SERVER(proto-server-server-decoration
|
|
|
|
server-decoration.xml
|
|
|
|
server-decoration
|
|
|
|
)
|
|
|
|
|
2016-04-28 18:13:26 +00:00
|
|
|
add_library(sway-protocols STATIC
|
2015-12-02 05:57:53 +00:00
|
|
|
${proto-client-xdg-shell}
|
|
|
|
${proto-client-desktop-shell}
|
|
|
|
${proto-server-desktop-shell}
|
2015-12-03 13:35:22 +00:00
|
|
|
${proto-client-swaylock}
|
|
|
|
${proto-server-swaylock}
|
2016-12-28 07:04:51 +00:00
|
|
|
${proto-server-gamma-control}
|
2017-04-29 00:32:05 +00:00
|
|
|
${proto-server-server-decoration}
|
2015-12-02 05:57:53 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set(PROTOCOLS_INCLUDE_DIRS ${CMAKE_BINARY_DIR}/protocols PARENT_SCOPE)
|
2016-04-28 18:08:41 +00:00
|
|
|
INCLUDE_DIRECTORIES(${WAYLAND_INCLUDE_DIR} ${XKBCOMMON_INCLUDE_DIRS})
|