D22156: Add wayland-protocols find module

Vlad Zagorodniy noreply at phabricator.kde.org
Sat Jun 29 15:06:39 BST 2019


zzag created this revision.
zzag added reviewers: KWin, Frameworks.
Herald added projects: Frameworks, Build System.
Herald added subscribers: kde-buildsystem, kde-frameworks-devel.
zzag requested review of this revision.

REVISION SUMMARY
  This module can be used to retrieve path of a directory with all wayland-protocols'
  protocols, like xdg-shell, and so on.
  
  Example usage
  
    find_package(WaylandProtocols REQUIRED)
    
    ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS
        PROTOCOL ${WaylandProtocols_DATADIR}/stable/xdg-shell/xdg-shell.xml
        BASENAME xdg-shell
    )

REPOSITORY
  R240 Extra CMake Modules

BRANCH
  find-wayland-protocols

REVISION DETAIL
  https://phabricator.kde.org/D22156

AFFECTED FILES
  docs/find-module/FindWaylandProtocols.rst
  find-modules/FindWaylandProtocols.cmake

To: zzag, #kwin, #frameworks
Cc: kde-frameworks-devel, kde-buildsystem, LeGast00n, bencreasy, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20190629/0ae3b725/attachment.html>


More information about the Kde-buildsystem mailing list