aboutsummaryrefslogtreecommitdiff
path: root/find-modules/FindWaylandScanner.cmake
AgeCommit message (Collapse)Author
2022-04-20Allow ecm_add_wayland_{client,server}_protocol take targetsVlad Zahorodnii
Allows us to avoid using source variables.
2021-04-23Modules docs: move rst docs into bracket commentsFriedrich W. H. Kossebau
CMake >= 3.0 supports bracket comments, and the reStructuredText integration code in sphinx/ext/ecm.py already supports extracting the docs from a bracket comment instead. Editing documentation without leading line comment markers is more simple, e,g. when reflowing text over lines. With ECM meanwhile requiring CMake 3.5 now it is possible to switch (and thus follow also the approach used by cmake itself). NO_CHANGELOG
2021-03-25Fix warning about wayland-scanner code argVlad Zahorodnii
The code argument has been deprecated in favor of public-code and private-code options. In general, it is highly advised to use the private-code option, but we cannot do it because it will break the ABI.
2020-11-18(Qt)WaylandScanner: Properly mark files as SKIP_AUTOMOCAleix Pol
Have the C counterpart take care of the C files and the C++ for the C++ files. Don't forget to skip the server C implementation.
2020-06-14extra-cmake-modules: Convert to SPDX license statementsAndreas Cord-Landwehr
2020-04-18Fix wayland scanner warningsAleix Pol
Summary: Tells cmake not to automoc certain files that don't need it, which would become a big fuss on the cmake output. Test Plan: No warnings Reviewers: #build_system, #kwin, #frameworks, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kde-frameworks-devel, kde-buildsystem Tags: #frameworks, #build_system Differential Revision: https://phabricator.kde.org/D28900
2019-03-29ecm_add_wayland_client_protocol: Improve error messagesAleix Pol
Summary: Instead of passing the data from stdin, pass the path, this way if there's an error wayland-scanner will be able to tell us the file and line where it's failing. Test Plan: Built kwayland and kwin with it Reviewers: #kwin, #frameworks, zzag Reviewed By: #kwin, zzag Subscribers: kde-frameworks-devel, kde-buildsystem Tags: #frameworks, #build_system Differential Revision: https://phabricator.kde.org/D20105
2019-01-09Use more https in linksFriedrich W. H. Kossebau
2018-06-05skip automoc hereLaurent Montel
2015-02-06Document when modules were added to ECM.Alex Merry
2014-11-07Do not skip searching for X11 and Wayland on WindowsAlex Merry
While the search is unlikely to succeed on Windows, having different behaviour between the platforms (eg: find_package(Wayland REQUIRED) was not fatal on Windows, even though Wayland_FOUND would always be FALSE) is not ideal, and if someone did port them to Windows for some reason, the find modules should support that. If applications actually want different behaviour between platforms (like requiring a module on Unix, but not on Windows), they should implement that logic themselves (since they will have to deal with targets not being defined, etc, anyway). REVIEW: 120481
2014-10-19Wayland and QtWayland protocol scannersPier Luigi Fiorini
Add a couple of find modules for wayland-scanner and qtwaylandscanner. These modules find the respective executables and create a target that points to the executable. Targets are respectively Wayland::Scanner and Wayland::QtScanner. There are also macros to generate C protocols with wayland-scanner and C++ wrappers with qtwaylandscanner. REVIEW: 120034