RFC: Add wayland-protocols find module
AbandonedPublic

Authored by zzag on Jun 29 2019, 2:06 PM.

Details

Reviewers
None
Group Reviewers
KWin
Frameworks
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
)

Diff Detail

Repository
R240 Extra CMake Modules
Branch
find-wayland-protocols
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 13407
Build 13425: arc lint + arc unit
zzag created this revision.Jun 29 2019, 2:06 PM
Restricted Application added projects: Frameworks, Build System. · View Herald TranscriptJun 29 2019, 2:06 PM
Restricted Application added subscribers: kde-buildsystem, kde-frameworks-devel. · View Herald Transcript
zzag requested review of this revision.Jun 29 2019, 2:06 PM
zzag retitled this revision from Add wayland-protocols find module to RFC: Add wayland-protocols find module.Jun 29 2019, 2:09 PM
apol added a subscriber: apol.Jun 29 2019, 5:36 PM

LGTM +1

krop added a subscriber: krop.Jun 29 2019, 6:34 PM

how many users are there?

zzag abandoned this revision.Jun 29 2019, 6:46 PM
In D22156#488219, @cgiboudeaux wrote:

how many users are there?

Hmm, at this moment none. KWayland would be the primary user (and perhaps the only one). Perhaps ECM is not good place for this find module. Sorry for the noise.