commit 23f214fb7d705c3fdd2cd6f19c789bbcdee3ea65 parent 9561b895db55cf5acb38d948564d511ebd0b6a4a Author: deurzen <m.deurzen@tum.de> Date: Thu, 19 May 2022 01:23:56 +0200 adds pointer-constraints protocol build Diffstat:
M | CMakeLists.txt | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -116,8 +116,15 @@ add_custom_command( COMMENT "Generating xdg-shell-protocol.h" ) +add_custom_command( + OUTPUT ${CMAKE_SOURCE_DIR}/include/protocols/pointer-constraints-unstable-v1-protocol.h + COMMAND wayland-scanner server-header ${WAYLAND_PROTOCOLS}/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml ${CMAKE_SOURCE_DIR}/include/protocols/pointer-constraints-unstable-v1-protocol.h + COMMENT "Generating pointer-constraints-unstable-v1.h" +) + add_custom_target(run ALL DEPENDS ${CMAKE_SOURCE_DIR}/include/protocols/xdg-shell-protocol.h + DEPENDS ${CMAKE_SOURCE_DIR}/include/protocols/pointer-constraints-unstable-v1-protocol.h ) add_executable(kranewl