mirror of
https://github.com/swaywm/sway
synced 2024-11-18 23:14:03 +01:00
cce9c338c0
This creates (static) libraries for protocols/, common/, and wayland/.
23 lines
471 B
CMake
23 lines
471 B
CMake
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
|
|
)
|
|
|
|
add_library(sway-protocols
|
|
${proto-client-xdg-shell}
|
|
${proto-client-desktop-shell}
|
|
${proto-server-desktop-shell}
|
|
)
|
|
|
|
set(PROTOCOLS_INCLUDE_DIRS ${CMAKE_BINARY_DIR}/protocols PARENT_SCOPE)
|